opentofu/terraform/test-fixtures/graph-modules/main.tf
2014-09-22 16:48:18 -07:00

17 lines
323 B
HCL

module "consul" {
foo = "${aws_security_group.firewall.foo}"
source = "./consul"
}
provider "aws" {}
resource "aws_security_group" "firewall" {}
resource "aws_instance" "web" {
security_groups = [
"foo",
"${aws_security_group.firewall.foo}",
"${module.consul.security_group}"
]
}