Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-niland committed Mar 8, 2024
1 parent 1aeb790 commit 12f9dcf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ resource "aws_route53_zone" "private_dns_zone" {
module "ses" {
source = "../../"

domain = var.domain
zone_id = aws_route53_zone.private_dns_zone.zone_id
verify_dkim = var.verify_dkim
verify_domain = var.verify_domain
domain = var.domain
zone_id = aws_route53_zone.private_dns_zone.zone_id
verify_dkim = var.verify_dkim
verify_domain = var.verify_domain
create_spf_record = var.create_spf_record

context = module.this.context
Expand Down
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ module "ses_user" {

resource "aws_iam_user_policy" "sending_emails" {
#bridgecrew:skip=BC_AWS_IAM_16:Skipping `Ensure IAM policies are attached only to groups or roles` check because this module intentionally attaches IAM policy directly to a user.
count = local.create_user_enabled && ! local.create_group_enabled ? 1 : 0
count = local.create_user_enabled && !local.create_group_enabled ? 1 : 0

name = module.this.id
policy = join("", data.aws_iam_policy_document.ses_policy.*.json)
user = module.ses_user.user_name
}
}
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ output "ses_dkim_tokens" {
}

output "spf_record" {
value = try(aws_route53_record.amazonses_spf_record[0].fqdn, "")
value = try(aws_route53_record.amazonses_spf_record[0].fqdn, "")
description = "The SPF record for the domain. This is a TXT record that should be added to the domain's DNS settings to allow SES to send emails on behalf of the domain."
}

Expand Down

0 comments on commit 12f9dcf

Please sign in to comment.