github.com/hugorut/terraform@v1.1.3/src/terraform/testdata/plan-computed-value-in-map/main.tf (about)

     1  resource "aws_computed_source" "intermediates" {}
     2  
     3  module "test_mod" {
     4    source = "./mod"
     5  
     6    services = [
     7      {
     8        "exists" = "true"
     9        "elb"    = "${aws_computed_source.intermediates.computed_read_only}"
    10      },
    11      {
    12        "otherexists" = " true"
    13        "elb"         = "${aws_computed_source.intermediates.computed_read_only}"
    14      },
    15    ]
    16  }