Files
opentf/internal/configs/testdata/valid-modules/override-backend/main.tf
Chris Arcand 18d54c1129 Allow cloud block overrides
These changes allow cloud blocks to be overridden by backend blocks and
vice versa; the logic follows the current backend behavior of a block
overriding a preceding block in full, with no merges.
2021-10-28 19:29:09 -05:00

14 lines
186 B
HCL

terraform {
backend "foo" {
path = "relative/path/to/terraform.tfstate"
}
}
resource "aws_instance" "web" {
ami = "ami-1234"
security_groups = [
"foo",
"bar",
]
}