Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added iam output #30

Merged
merged 1 commit into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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, "")
}