diff --git a/terraform/infrastructure/prod_english_cloudfront_distro_11/prod_english_cloudfront_config_11212023.json b/terraform/infrastructure/prod_english_cloudfront_distro_11/prod_english_cloudfront_config_11212023.json new file mode 100644 index 0000000000..6282452159 --- /dev/null +++ b/terraform/infrastructure/prod_english_cloudfront_distro_11/prod_english_cloudfront_config_11212023.json @@ -0,0 +1,553 @@ +{ + "ETag": "EYHFHDSSLOYJF", + "DistributionConfig": { + "CallerReference": "origin-english-cloudfront-2022-03-15", + "Aliases": { + "Quantity": 1, + "Items": [ + "www.epa.gov" + ] + }, + "DefaultRootObject": "", + "Origins": { + "Quantity": 1, + "Items": [ + { + "Id": "Production English Origin", + "DomainName": "origin-aws-www.epa.gov", + "OriginPath": "", + "CustomHeaders": { + "Quantity": 1, + "Items": [ + { + "HeaderName": "Route", + "HeaderValue": "cloudfront" + } + ] + }, + "CustomOriginConfig": { + "HTTPPort": 80, + "HTTPSPort": 443, + "OriginProtocolPolicy": "https-only", + "OriginSslProtocols": { + "Quantity": 1, + "Items": [ + "TLSv1.2" + ] + }, + "OriginReadTimeout": 55, + "OriginKeepaliveTimeout": 5 + }, + "ConnectionAttempts": 3, + "ConnectionTimeout": 10, + "OriginShield": { + "Enabled": false + }, + "OriginAccessControlId": "" + } + ] + }, + "OriginGroups": { + "Quantity": 0 + }, + "DefaultCacheBehavior": { + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 7, + "Items": [ + "HEAD", + "DELETE", + "POST", + "GET", + "OPTIONS", + "PUT", + "PATCH" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "411b276a-a5ff-42d2-a7ed-fca0e086f6e2", + "OriginRequestPolicyId": "216adef6-5c7f-47e4-b989-5492eafa07d3", + "ResponseHeadersPolicyId": "fb643c0c-4e83-4d58-9faf-74459b84795b" + }, + "CacheBehaviors": { + "Quantity": 11, + "Items": [ + { + "PathPattern": "/themes/epa_theme/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "a0191508-953d-4258-9d20-33ae5508b581", + "ResponseHeadersPolicyId": "c7899c1e-4e17-4380-8639-253533f31fd1" + }, + { + "PathPattern": "/sites/all/themes/epa/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "a0191508-953d-4258-9d20-33ae5508b581", + "ResponseHeadersPolicyId": "c7899c1e-4e17-4380-8639-253533f31fd1" + }, + { + "PathPattern": "/core/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "a0191508-953d-4258-9d20-33ae5508b581" + }, + { + "PathPattern": "/sites/default/files/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "e4819f46-fe9d-4874-bf60-983c10e8322f" + }, + { + "PathPattern": "/system/files/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "e4819f46-fe9d-4874-bf60-983c10e8322f" + }, + { + "PathPattern": "/sites/default/files/widgets/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "allow-all", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "a0191508-953d-4258-9d20-33ae5508b581", + "ResponseHeadersPolicyId": "c7899c1e-4e17-4380-8639-253533f31fd1" + }, + { + "PathPattern": "/newsreleases/search/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "447a69a9-c55c-4a95-a486-28af70d64d85", + "ResponseHeadersPolicyId": "c7899c1e-4e17-4380-8639-253533f31fd1" + }, + { + "PathPattern": "/faqs/search/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "447a69a9-c55c-4a95-a486-28af70d64d85", + "ResponseHeadersPolicyId": "c7899c1e-4e17-4380-8639-253533f31fd1" + }, + { + "PathPattern": "/publicnotices/notices-search/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "447a69a9-c55c-4a95-a486-28af70d64d85", + "ResponseHeadersPolicyId": "c7899c1e-4e17-4380-8639-253533f31fd1" + }, + { + "PathPattern": "/sites/default/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "e4819f46-fe9d-4874-bf60-983c10e8322f" + }, + { + "PathPattern": "/sites/production/files/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 1, + "Items": [ + { + "FunctionARN": "arn:aws:cloudfront::687001500421:function/302_errors", + "EventType": "viewer-request" + } + ] + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "e4819f46-fe9d-4874-bf60-983c10e8322f", + "OriginRequestPolicyId": "acba4595-bd28-49b8-b9fe-13317c0390fa" + } + ] + }, + "CustomErrorResponses": { + "Quantity": 0 + }, + "Comment": "", + "Logging": { + "Enabled": true, + "IncludeCookies": true, + "Bucket": "687001500421-cloudfront-logs.s3.amazonaws.com", + "Prefix": "" + }, + "PriceClass": "PriceClass_100", + "Enabled": true, + "ViewerCertificate": { + "CloudFrontDefaultCertificate": false, + "IAMCertificateId": "ASCAZ75D27MCU5NWBKCKE", + "SSLSupportMethod": "sni-only", + "MinimumProtocolVersion": "TLSv1.2_2019", + "Certificate": "ASCAZ75D27MCU5NWBKCKE", + "CertificateSource": "iam" + }, + "Restrictions": { + "GeoRestriction": { + "RestrictionType": "none", + "Quantity": 0 + } + }, + "WebACLId": "arn:aws:wafv2:us-east-1:687001500421:global/webacl/prod-www/353ff005-7a17-4992-826a-b5aa974bf054", + "HttpVersion": "http2", + "IsIPV6Enabled": true, + "ContinuousDeploymentPolicyId": "", + "Staging": false + } +} diff --git a/terraform/infrastructure/prod_english_cloudfront_distro_11/prod_espanol_cloudfront_config_11212023.json b/terraform/infrastructure/prod_english_cloudfront_distro_11/prod_espanol_cloudfront_config_11212023.json new file mode 100644 index 0000000000..ac53823be4 --- /dev/null +++ b/terraform/infrastructure/prod_english_cloudfront_distro_11/prod_espanol_cloudfront_config_11212023.json @@ -0,0 +1,952 @@ +{ + "ETag": "EYHFHDSSLOYJF", + "DistributionConfig": { + "CallerReference": "origin-english-cloudfront-2022-03-15", + "Aliases": { + "Quantity": 1, + "Items": [ + "www.epa.gov" + ] + }, + "DefaultRootObject": "", + "Origins": { + "Quantity": 1, + "Items": [ + { + "Id": "Production English Origin", + "DomainName": "origin-aws-www.epa.gov", + "OriginPath": "", + "CustomHeaders": { + "Quantity": 1, + "Items": [ + { + "HeaderName": "Route", + "HeaderValue": "cloudfront" + } + ] + }, + "CustomOriginConfig": { + "HTTPPort": 80, + "HTTPSPort": 443, + "OriginProtocolPolicy": "https-only", + "OriginSslProtocols": { + "Quantity": 1, + "Items": [ + "TLSv1.2" + ] + }, + "OriginReadTimeout": 55, + "OriginKeepaliveTimeout": 5 + }, + "ConnectionAttempts": 3, + "ConnectionTimeout": 10, + "OriginShield": { + "Enabled": false + }, + "OriginAccessControlId": "" + } + ] + }, + "OriginGroups": { + "Quantity": 0 + }, + "DefaultCacheBehavior": { + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 7, + "Items": [ + "HEAD", + "DELETE", + "POST", + "GET", + "OPTIONS", + "PUT", + "PATCH" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "411b276a-a5ff-42d2-a7ed-fca0e086f6e2", + "OriginRequestPolicyId": "216adef6-5c7f-47e4-b989-5492eafa07d3", + "ResponseHeadersPolicyId": "fb643c0c-4e83-4d58-9faf-74459b84795b" + }, + "CacheBehaviors": { + "Quantity": 11, + "Items": [ + { + "PathPattern": "/themes/epa_theme/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "a0191508-953d-4258-9d20-33ae5508b581", + "ResponseHeadersPolicyId": "c7899c1e-4e17-4380-8639-253533f31fd1" + }, + { + "PathPattern": "/sites/all/themes/epa/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "a0191508-953d-4258-9d20-33ae5508b581", + "ResponseHeadersPolicyId": "c7899c1e-4e17-4380-8639-253533f31fd1" + }, + { + "PathPattern": "/core/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "a0191508-953d-4258-9d20-33ae5508b581" + }, + { + "PathPattern": "/sites/default/files/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "e4819f46-fe9d-4874-bf60-983c10e8322f" + }, + { + "PathPattern": "/system/files/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "e4819f46-fe9d-4874-bf60-983c10e8322f" + }, + { + "PathPattern": "/sites/default/files/widgets/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "allow-all", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "a0191508-953d-4258-9d20-33ae5508b581", + "ResponseHeadersPolicyId": "c7899c1e-4e17-4380-8639-253533f31fd1" + }, + { + "PathPattern": "/newsreleases/search/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "447a69a9-c55c-4a95-a486-28af70d64d85", + "ResponseHeadersPolicyId": "c7899c1e-4e17-4380-8639-253533f31fd1" + }, + { + "PathPattern": "/faqs/search/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "447a69a9-c55c-4a95-a486-28af70d64d85", + "ResponseHeadersPolicyId": "c7899c1e-4e17-4380-8639-253533f31fd1" + }, + { + "PathPattern": "/publicnotices/notices-search/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "447a69a9-c55c-4a95-a486-28af70d64d85", + "ResponseHeadersPolicyId": "c7899c1e-4e17-4380-8639-253533f31fd1" + }, + { + "PathPattern": "/sites/default/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "e4819f46-fe9d-4874-bf60-983c10e8322f" + }, + { + "PathPattern": "/sites/production/files/*", + "TargetOriginId": "Production English Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 1, + "Items": [ + { + "FunctionARN": "arn:aws:cloudfront::687001500421:function/302_errors", + "EventType": "viewer-request" + } + ] + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "e4819f46-fe9d-4874-bf60-983c10e8322f", + "OriginRequestPolicyId": "acba4595-bd28-49b8-b9fe-13317c0390fa" + } + ] + }, + "CustomErrorResponses": { + "Quantity": 0 + }, + "Comment": "", + "Logging": { + "Enabled": true, + "IncludeCookies": true, + "Bucket": "687001500421-cloudfront-logs.s3.amazonaws.com", + "Prefix": "" + }, + "PriceClass": "PriceClass_100", + "Enabled": true, + "ViewerCertificate": { + "CloudFrontDefaultCertificate": false, + "IAMCertificateId": "ASCAZ75D27MCU5NWBKCKE", + "SSLSupportMethod": "sni-only", + "MinimumProtocolVersion": "TLSv1.2_2019", + "Certificate": "ASCAZ75D27MCU5NWBKCKE", + "CertificateSource": "iam" + }, + "Restrictions": { + "GeoRestriction": { + "RestrictionType": "none", + "Quantity": 0 + } + }, + "WebACLId": "arn:aws:wafv2:us-east-1:687001500421:global/webacl/prod-www/353ff005-7a17-4992-826a-b5aa974bf054", + "HttpVersion": "http2", + "IsIPV6Enabled": true, + "ContinuousDeploymentPolicyId": "", + "Staging": false + } +} +[bpotter@drupalcloud-runner2 ~]$ cat prod_espanol_cloudfront_config.json +{ + "ETag": "E3NYYPS5BWEIN0", + "DistributionConfig": { + "CallerReference": "origin-espanol-cloudfront", + "Aliases": { + "Quantity": 1, + "Items": [ + "espanol.epa.gov" + ] + }, + "DefaultRootObject": "", + "Origins": { + "Quantity": 1, + "Items": [ + { + "Id": "Production Spanish Origin", + "DomainName": "origin-aws-espanol.epa.gov", + "OriginPath": "", + "CustomHeaders": { + "Quantity": 1, + "Items": [ + { + "HeaderName": "Route", + "HeaderValue": "cloudfront" + } + ] + }, + "CustomOriginConfig": { + "HTTPPort": 80, + "HTTPSPort": 443, + "OriginProtocolPolicy": "https-only", + "OriginSslProtocols": { + "Quantity": 1, + "Items": [ + "TLSv1.2" + ] + }, + "OriginReadTimeout": 55, + "OriginKeepaliveTimeout": 5 + }, + "ConnectionAttempts": 3, + "ConnectionTimeout": 10, + "OriginShield": { + "Enabled": false + }, + "OriginAccessControlId": "" + } + ] + }, + "OriginGroups": { + "Quantity": 0 + }, + "DefaultCacheBehavior": { + "TargetOriginId": "Production Spanish Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 7, + "Items": [ + "HEAD", + "DELETE", + "POST", + "GET", + "OPTIONS", + "PUT", + "PATCH" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "411b276a-a5ff-42d2-a7ed-fca0e086f6e2", + "OriginRequestPolicyId": "216adef6-5c7f-47e4-b989-5492eafa07d3", + "ResponseHeadersPolicyId": "fb643c0c-4e83-4d58-9faf-74459b84795b" + }, + "CacheBehaviors": { + "Quantity": 7, + "Items": [ + { + "PathPattern": "/themes/epa_theme/*", + "TargetOriginId": "Production Spanish Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "a0191508-953d-4258-9d20-33ae5508b581" + }, + { + "PathPattern": "/sites/all/themes/epa/*", + "TargetOriginId": "Production Spanish Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "allow-all", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "a0191508-953d-4258-9d20-33ae5508b581" + }, + { + "PathPattern": "/core/*", + "TargetOriginId": "Production Spanish Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "a0191508-953d-4258-9d20-33ae5508b581" + }, + { + "PathPattern": "/sites/default/files/*", + "TargetOriginId": "Production Spanish Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "e4819f46-fe9d-4874-bf60-983c10e8322f" + }, + { + "PathPattern": "/system/files/*", + "TargetOriginId": "Production Spanish Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "e4819f46-fe9d-4874-bf60-983c10e8322f" + }, + { + "PathPattern": "/sites/default/*", + "TargetOriginId": "Production Spanish Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e58f6" + }, + { + "PathPattern": "/sites/production/files/*", + "TargetOriginId": "Production Spanish Origin", + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "redirect-to-https", + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "Compress": true, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FunctionAssociations": { + "Quantity": 1, + "Items": [ + { + "FunctionARN": "arn:aws:cloudfront::687001500421:function/304_errors", + "EventType": "viewer-request" + } + ] + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "658327ea-f89d-4fab-a63d-7e88639e58f6" + } + ] + }, + "CustomErrorResponses": { + "Quantity": 0 + }, + "Comment": "", + "Logging": { + "Enabled": true, + "IncludeCookies": true, + "Bucket": "687001500421-cloudfront-logs.s3.amazonaws.com", + "Prefix": "" + }, + "PriceClass": "PriceClass_100", + "Enabled": true, + "ViewerCertificate": { + "CloudFrontDefaultCertificate": false, + "IAMCertificateId": "ASCAZ75D27MC7AFMPWCDV", + "SSLSupportMethod": "sni-only", + "MinimumProtocolVersion": "TLSv1.2_2019", + "Certificate": "ASCAZ75D27MC7AFMPWCDV", + "CertificateSource": "iam" + }, + "Restrictions": { + "GeoRestriction": { + "RestrictionType": "none", + "Quantity": 0 + } + }, + "WebACLId": "arn:aws:wafv2:us-east-1:687001500421:global/webacl/prod-espanol/aa415999-60e6-4247-b4da-5bcb0bff88ad", + "HttpVersion": "http2", + "IsIPV6Enabled": true, + "ContinuousDeploymentPolicyId": "", + "Staging": false + } +}