diff --git a/route53-zone-association/vpc/main.tf b/route53-zone-association/vpc/main.tf index 6349632..9e91e72 100644 --- a/route53-zone-association/vpc/main.tf +++ b/route53-zone-association/vpc/main.tf @@ -79,8 +79,8 @@ resource "aws_ssm_parameter" "self_zones" { type = "String" value = jsonencode({ name = var.vpc_domain_name - account_id = module.east_ma13_zones.zones_account_id - region = module.east_ma13_zones.zones_region + account_id = data.aws_caller_identity.peer.account_id + region = data.aws_region.peer.name zone_id = each.value # create_time = try(time_static.vpce[0].unix, null) })