You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This part used to work, i.e we can make cloudfront_default_certificatefalse and pass acm_certificate_arn.
But Its resulting in error: viewer_certificate.0.acm_certificate_arn": conflicts with viewer_certificate.0.cloudfront_default_certificate
This means I need to pass either one of those, Which doesn't make it modular.
The text was updated successfully, but these errors were encountered:
Hi @only1vinay 👋 Thank you for reporting this and sorry for the hassle. We have a previously created tracking issue for this one (#7773) so to consolidate efforts and discussions, I am going to close this issue in preference of the earlier one. 👍
This issue was originally opened by @only1vinay as hashicorp/terraform#20511. It was migrated here as a result of the provider split. The original body of the issue is below.
viewer_certificate {
acm_certificate_arn = "${var.acm_certificate_arn}"
cloudfront_default_certificate = "${length(var.acm_certificate_arn) > 0 ? false : true}"
minimum_protocol_version = "TLSv1.1_2016"
ssl_support_method = "sni-only"
}
This part used to work, i.e we can make cloudfront_default_certificate false and pass acm_certificate_arn.
But Its resulting in error: viewer_certificate.0.acm_certificate_arn": conflicts with viewer_certificate.0.cloudfront_default_certificate
This means I need to pass either one of those, Which doesn't make it modular.
The text was updated successfully, but these errors were encountered: