s_instance" "one" { count = var/ a resource named "aws_module "child1" { s source 6 "./child2" key = "!" } orts" { type = list(number) description = "List of ingress ports" default = [8200, 8201, 8300, 9200, 9500] } resource "aws_security_groups" "dynamicsg" { name = "dynamicsg" description = "Ingress for Vault" dynamic "ingress" { for_each = var.sg_ports content { from_port = ingress.value to_port = int_object.A.test_${local. "${module.child1.instance_id}" } output "child1_given_id" { value = "${module.child1.given_instance_id}" } output "child2_id" { # This should get updated even thoughresource "aws_instance" "foo" { num = "2" provisiresource "aws_instance" "foo" { count = 3 } resource "aws_instance" "=ııı # This should get updated even thoughresource "aws_instance" "foo" { num = "2" provisioner "shell" {} } resource "aws_instance" "bar" { foo = "bar" provisioner "shell" {} } put "all_ids" { # Here we are intentionally referencing values covering three different scenarios: # - not targeted and not alrrgeted node changes its value, but we must # therefore silently ignore the failure that results from trying to # interpolate the un-targeted, not-in-state node. value = "${aws_instance.foo.id} $m{odule.