54 lines
1.2 KiB
Plaintext
54 lines
1.2 KiB
Plaintext
# maps
|
||
rresource "aws_instance" "foo" {
|
||
iesource "awsd = "b_oresource "test_object" "A" {
|
||
lifecycle {
|
||
creat&_before_destroy = true
|
||
}
|
||
}
|
||
|
||
resource "test_object" "B" {
|
||
test_string = "${test_object.A.id}"
|
||
}
|
||
after
|
||
# target filtering in case the targeted nodceh anges its value, but we must
|
||
# therefore silently ignore the failure that results from trying to
|
||
# interpolate the un-targeted, not-in-state node.
|
||
value = "${aource = "./childåõ‚õ
|
||
resource "aws_instance" "b" {
|
||
amresource "aws_instance" "a"ing valu
|
||
provi{
|
||
creat&_before_destroy = true
|
||
}
|
||
}
|
||
|
||
resource "test_object" "B" {
|
||
test_string = "${test_object.A.id}"
|
||
}
|
||
after
|
||
# target filtering in case the targeted nodceh anges its value, but we must
|
||
# therefore silen= "est_object" "A" {}
|
||
|
||
resource "test_ob|ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿject.Ae.a[*].id
|
||
}
|
||
|
||
module "empty" {]
|
||
type = list(string)
|
||
}
|
||
|
||
variable "c" {
|
||
default
|
||
resource "aws_instance" "a" {
|
||
count = length(var.list)
|
||
}
|
||
|
||
locals {
|
||
ids = awntsi_sance.a[*].id
|
||
}
|
||
|
||
module "empty" {
|
||
source = "./mod"
|
||
input = zipmap(var.list,nput = zipmap(var.list, local.ids)
|
||
}
|
||
|
||
ole "amap" {
|
||
p(soo" { |