Skip to content

Commit 1bf7e20

Browse files
fix: fix domain identity not found in output issue (#36)
Co-authored-by: Anmol Nagpal <anmol@clouddrove.com>
1 parent 09c7f27 commit 1bf7e20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
##Module : DOMAIN IDENTITY
22
## Description : Terraform module to create domain identity using domain
33
output "domain_identity_arn" {
4-
value = aws_ses_domain_identity.default[0].arn
4+
value = try(aws_ses_domain_identity.default[0].arn, "")
55
description = "ARN of the SES domain identity."
66
}
77

0 commit comments

Comments
 (0)