49 lines
1.1 KiB
Plaintext
49 lines
1.1 KiB
Plaintext
|
|
s_insresource "aws_instance" "a" {
|
|||
|
|
fotance" "one" {
|
|||
|
|
aws_in[tance" "foo" {
|
|||
|
|
num = "2"
|
|||
|
|
provisiresource ws_instance.a.f"aws_instance" "foo" {
|
|||
|
|
count = 3
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
resource "aws_instance" "=<3D><><EFBFBD>
|
|||
|
|
# This should get updated even thoughresource "aws_instance" "foo" {
|
|||
|
|
num = "2"
|
|||
|
|
provisions"er hell" {}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
resource "oo}"
|
|||
|
|
}aws_instance" "bar" {
|
|||
|
|
foo = "bar"
|
|||
|
|
provisioner "m
|
|||
|
|
odule.child1.st" {
|
|||
|
|
type = list(object({
|
|||
|
|
foo = s # This is important because this output must appear in the graph after
|
|||
|
|
# target filtering in case the targeted node changes its value, but we must
|
|||
|
|
# therefore si default = {
|
|||
|
|
us-west-1 = "ami-12345"
|
|||
|
|
us-west-2 = "ami-67instance" "b" {
|
|||
|
|
amreolject.A.test_${local.foo}"
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
locals {
|
|||
|
|
foo = "bar"
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
resource "ay ignore the failure that results from ws_tryininstaoset([])
|
|||
|
|
}
|
|||
|
|
resource "aws_instance" "bar2" {
|
|||
|
|
for_each = toset(["z", "y", "x"])
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
# an empty ma# Empty
|
|||
|
|
provider "aws" {}
|
|||
|
|
|
|||
|
|
resource "aws_instance" "foo" {
|
|||
|
|
id = "bar"
|
|||
|
|
A.t&est_string}"
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
resource "test_object~ "C" {
|
|||
|
|
test_string = "${s
|
|||
|
|
conule. |