diff --git a/terraform/environments/ccms-ebs/ccms-certificates-outputs.tf b/terraform/environments/ccms-ebs/ccms-certificates-outputs.tf index 69f0257d84d..9b3435c341e 100644 --- a/terraform/environments/ccms-ebs/ccms-certificates-outputs.tf +++ b/terraform/environments/ccms-ebs/ccms-certificates-outputs.tf @@ -1,60 +1,60 @@ output "aws_acm_certificate-external-arn" { description = "aws_acm_certificate external arn" - value = aws_acm_certificate.external.arn + value = aws_acm_certificate.external[count.index].arn } output "aws_acm_certificate-external-domain_name" { description = "aws_acm_certificate external domain_name" - value = aws_acm_certificate.external.domain_name + value = aws_acm_certificate.external[count.index].domain_name } output "aws_acm_certificate-external-not_after" { description = "aws_acm_certificate external not_after" - value = aws_acm_certificate.external.not_after + value = aws_acm_certificate.external[count.index].not_after } output "aws_acm_certificate-external-status" { description = "aws_acm_certificate external status" - value = aws_acm_certificate.external.status + value = aws_acm_certificate.external[count.index].status } # output "aws_acm_certificate-external-service-arn" { description = "aws_acm_certificate external-service arn" - value = aws_acm_certificate.external-service.arn + value = aws_acm_certificate.external-service[count.index].arn } output "aws_acm_certificate-external-service-domain_name" { description = "aws_acm_certificate external-service domain_name" - value = aws_acm_certificate.external-service.domain_name + value = aws_acm_certificate.external-service[count.index].domain_name } output "aws_acm_certificate-external-service-not_after" { description = "aws_acm_certificate external-service not_after" - value = aws_acm_certificate.external-service.not_after + value = aws_acm_certificate.external-service[count.index].not_after } output "aws_acm_certificate-external-service-status" { description = "aws_acm_certificate external-service status" - value = aws_acm_certificate.external-service.status + value = aws_acm_certificate.external-service[count.index].status } # output "aws_route53_record-external_validation-fqdn" { description = "aws_route53_record external_validation fqdn" - value = aws_route53_record.external_validation.fqdn + value = aws_route53_record.external_validation[count.index].fqdn } output "aws_route53_record-external_validation-name" { description = "aws_route53_record external_validation name" - value = aws_route53_record.external_validation.name + value = aws_route53_record.external_validation[count.index].name } # output "aws_acm_certificate_validation-external-id" { description = "aws_acm_certificate_validation external id" - value = aws_acm_certificate_validation.external.id + value = aws_acm_certificate_validation.external[count.index].id } diff --git a/terraform/environments/ccms-ebs/ccms-cloudwatch-outputs.tf b/terraform/environments/ccms-ebs/ccms-cloudwatch-outputs.tf index 3e262851ca1..2692ef8d344 100644 --- a/terraform/environments/ccms-ebs/ccms-cloudwatch-outputs.tf +++ b/terraform/environments/ccms-ebs/ccms-cloudwatch-outputs.tf @@ -7,7 +7,7 @@ output "aws_ssm_document_cloud_watch_agent_description" { output "aws_cloudwatch_log_group_groups_arn" { description = "aws_cloudwatch_log_group groups arn" - value = aws_cloudwatch_log_group.groups.arn + value = aws_cloudwatch_log_group.groups[each.key].arn } # diff --git a/terraform/environments/ccms-ebs/ccms-dlm-outputs.tf b/terraform/environments/ccms-ebs/ccms-dlm-outputs.tf index 05ede2343ad..1ac30edbbfb 100644 --- a/terraform/environments/ccms-ebs/ccms-dlm-outputs.tf +++ b/terraform/environments/ccms-ebs/ccms-dlm-outputs.tf @@ -1,38 +1,38 @@ output "aws_iam_role_dlm_lifecycle_role_arn" { description = "aws_iam_role dlm_lifecycle_role arn" - value = aws_iam_role.dlm_lifecycle_role.arn + value = aws_iam_role.dlm_lifecycle_role[count.index].arn } output "aws_iam_role_dlm_lifecycle_role_name" { description = "aws_iam_role dlm_lifecycle_role name" - value = aws_iam_role.dlm_lifecycle_role.name + value = aws_iam_role.dlm_lifecycle_role[count.index].name } # output "aws_iam_role_policy_dlm_lifecycle_id" { description = "aws_iam_role_policy dlm_lifecycle id" - value = aws_iam_role_policy.dlm_lifecycle.id + value = aws_iam_role_policy.dlm_lifecycle[count.index].id } output "aws_iam_role_policy_dlm_lifecycle_name" { description = "aws_iam_role_policy dlm_lifecycle name" - value = aws_iam_role_policy.dlm_lifecycle.name + value = aws_iam_role_policy.dlm_lifecycle[count.index].name } output "aws_iam_role_policy_dlm_lifecycle_policy" { description = "aws_iam_role_policy dlm_lifecycle policy" - value = aws_iam_role_policy.dlm_lifecycle.policy + value = aws_iam_role_policy.dlm_lifecycle[count.index].policy } output "aws_iam_role_policy_dlm_lifecycle_role" { description = "aws_iam_role_policy dlm_lifecycle role" - value = aws_iam_role_policy.dlm_lifecycle.role + value = aws_iam_role_policy.dlm_lifecycle[count.index].role } # output "aws_dlm_lifecycle_policy_lifecyclerole_arn" { description = "aws_dlm_lifecycle_policy lifecyclerole arn" - value = aws_dlm_lifecycle_policy.lifecyclerole.arn + value = aws_dlm_lifecycle_policy.lifecyclerole[count.index].arn }