apply-env will fail on creating aws_cloudfront_distribution if you have multiple buckets.
a tags k/v values can't have a "," char value see 👇
Error: error creating CloudFront Distribution: MalformedXML: 1 validation error detected: Value '2020-08-11 17:56:32 +0000 UTC,2020-08-11 18:58:22 +0000 UTC' at 'distributionConfigWithTags.tags.items.1.member.value' failed to satisfy constraint: Member must satisfy regular expression pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$
status code: 400, request id: ea5d23e8-f775-42fa-9c2d-fad39ea461fa
on ../../modules/s3_hosting/main.tf line 69, in resource "aws_cloudfront_distribution" "client_assets_distribution":
69: resource "aws_cloudfront_distribution" "client_assets_distribution" {
change join "," -> "-"
|
"certs-validated" = join(",", var.certificate_validations) |
related to commitdev/zero#222
apply-envwill fail on creatingaws_cloudfront_distributionif you have multiple buckets.a tags k/v values can't have a "," char value see 👇
change join
"," -> "-"zero-aws-eks-stack/templates/terraform/modules/s3_hosting/main.tf
Line 131 in 47abc82
related to commitdev/zero#222