Skip to content

Commit

Permalink
feat: added iam output (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
theprashantyadav committed Oct 24, 2023
1 parent 0500ad8 commit ab3578c
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 18 deletions.
27 changes: 19 additions & 8 deletions _example/outputs.tf
Original file line number Diff line number Diff line change
@@ -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."

}
30 changes: 20 additions & 10 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -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."
#}
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, "")
}

0 comments on commit ab3578c

Please sign in to comment.