Amazon web services – Terraform generate aws_ec2_tag for each shared subnet
I've created subnets in one AWS account and shared them with another AWS account. I'm using the following Terraform code to get the individual subnet info: data "aws_subnets" "subnets" { filter { name = "vpc-id" values = [var.vpc_id] } }…