2022-02-15 17:12:55 +01:00
|
|
|
terraform {
|
|
|
|
required_providers {
|
|
|
|
test = {
|
|
|
|
source = "hashicorp/test"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
resource "test_instance" "test" {
|
|
|
|
ami = "bar"
|
|
|
|
}
|
|
|
|
|
|
|
|
module "with_requirement" {
|
2022-02-18 16:19:39 +01:00
|
|
|
source = "./nested"
|
|
|
|
depends_on = [module.no_requirements]
|
2022-02-15 17:12:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
module "no_requirements" {
|
|
|
|
source = "./nested-no-requirements"
|
|
|
|
}
|