diff --git a/_example/outputs.tf b/_example/outputs.tf index 2ec6228..b78a333 100644 --- a/_example/outputs.tf +++ b/_example/outputs.tf @@ -1,9 +1,20 @@ -#output "domain_identity_arn" { -# value = module.ses.domain_identity_arn -# description = "ARN of the SES domain identity" -#} +output "domain_identity_arn" { + value = module.ses.domain_identity_arn + description = "ARN of the SES domain identity" +} -#output "id" { -# value = module.ses[*].id -# description = "The domain name of the domain identity." -#} +output "id" { + value = module.ses[*].id + description = "The domain name of the domain identity." +} + +output "iam_access_key_secret" { + value = module.ses.iam_access_key_secret + sensitive = true + description = "The access key secret." +} +output "iam_access_key_id" { + value = module.ses.iam_access_key_id + description = "The access key ID." + +} \ No newline at end of file diff --git a/outputs.tf b/outputs.tf index 269e38f..82a2cf1 100644 --- a/outputs.tf +++ b/outputs.tf @@ -1,11 +1,21 @@ -# Module : DOMAIN IDENTITY -# Description : Terraform module to create domain identity using domain -#output "domain_identity_arn" { -# value = aws_ses_domain_identity.main[0].arn -# description = "ARN of the SES domain identity." -#} +##Module : DOMAIN IDENTITY +## Description : Terraform module to create domain identity using domain +output "domain_identity_arn" { + value = aws_ses_domain_identity.default[0].arn + description = "ARN of the SES domain identity." +} -#output "id" { -# value = try(aws_ses_domain_identity_verification.default[0].id, "") -# description = "The domain name of the domain identity." -#} \ No newline at end of file +output "id" { + value = try(aws_ses_domain_identity_verification.default[0].id, "") + description = "The domain name of the domain identity." +} + +output "iam_access_key_secret" { + description = "The access key secret." + value = try(aws_iam_access_key.default[0].secret, "") + sensitive = true +} +output "iam_access_key_id" { + description = "The access key ID." + value = try(aws_iam_access_key.default[0].id, "") +} \ No newline at end of file