Skip to content

Commit 93e36eb

Browse files
authored
Merge pull request #73 from AgencyPMG/main
Remove unsupported acm environment argument, ignore computed value of ActiveEncryptionCertificate
2 parents 6646196 + 73fe292 commit 93e36eb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

main.tf

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ module "auth_domain_certificate" {
5959

6060
domain_name = var.dns_name
6161
zone_id = data.aws_route53_zone.selected.id
62-
environment = var.environment
6362

6463
providers = {
6564
aws = aws.us-east-1
@@ -113,4 +112,11 @@ resource "aws_cognito_identity_provider" "saml" {
113112
attribute_mapping = {
114113
email = "email"
115114
}
115+
116+
lifecycle {
117+
ignore_changes = [
118+
// This is a computed value, so we need to ignore it.
119+
provider_details["ActiveEncryptionCertificate"],
120+
]
121+
}
116122
}

0 commit comments

Comments
 (0)