mirror of
https://github.com/hashicorp/terraform.git
synced 2026-04-24 23:57:34 -04:00
25 lines
557 B
HCL
25 lines
557 B
HCL
|
|
// configure is not a "hashicorp" provider, so it won't be able to load
|
|
// this using the default behaviour. Terraform will need to look into the setup
|
|
// module to find the provider configuration.
|
|
provider "configure" {}
|
|
|
|
// testing is a "hashicorp" provider, so it can load this using the defaults
|
|
// even though not required provider block providers a definition for it.
|
|
provider "testing" {}
|
|
|
|
run "setup" {
|
|
module {
|
|
source = "./setup"
|
|
}
|
|
|
|
providers = {
|
|
configure = configure
|
|
}
|
|
}
|
|
|
|
run "test" {
|
|
providers = {
|
|
testing = testing
|
|
}
|
|
}
|