terraform/internal/configs/testdata/valid-modules/override-cloud/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
202 B
HCL

terraform {
cloud {
organization = "foo"
should_not_be_present_with_override = true
}
}
resource "aws_instance" "web" {
ami = "ami-1234"
security_groups = [
"foo",
"bar",
]
}