Commit 07fae50
Added conditional (#9)
* Output variable was referencing incorrect value
* Removed option that sets cloudfront_default_certificate
- According to terraform documentation you either have to set cloudfront_default_certificate or acm_certificate_arn for viewer_certificate in the aws_cloudfront_distribution resource, but not both.
* Added a conditional to viewer_certificate block
- This was needed because if you set acm_certificate_arn then cloudfront_default_certificate needs to be false otherwise it needs to be true.1 parent 58181b9 commit 07fae50
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
0 commit comments