mirror of
https://github.com/hashicorp/terraform.git
synced 2026-04-23 07:08:22 -04:00
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.
14 lines
202 B
HCL
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",
|
|
]
|
|
}
|