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
Updated to new versions of certificates and hosting modules, changed args correspondingly.
Use alternate provider instead of providing region to cert, to match Aaron's change.
Copy file name to clipboardExpand all lines: templates/terraform/environments/prod/main.tf
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -38,10 +38,10 @@ module "prod" {
38
38
# https://<% index .Params `region` %>.console.aws.amazon.com/systems-manager/parameters/%252Faws%252Fservice%252Feks%252Foptimized-ami%252F1.17%252Famazon-linux-2%252Frecommended%252Fimage_id/description?region=<% index .Params `region` %>
39
39
eks_worker_ami="<% index .Params `eksWorkerAMI` %>"
40
40
41
-
# Hosting configuration
42
-
s3_hosting_buckets=[
43
-
"<% index .Params `productionHostRoot` %>",
44
-
"<% index .Params `productionFrontendSubdomain` %><% index .Params `productionHostRoot` %>",
41
+
# Hosting configuration. Each domain will have a bucket created for it, but may have mulitple aliases pointing to the same bucket.
Copy file name to clipboardExpand all lines: templates/terraform/environments/stage/main.tf
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -38,10 +38,10 @@ module "stage" {
38
38
# https://<% index .Params `region` %>.console.aws.amazon.com/systems-manager/parameters/%252Faws%252Fservice%252Feks%252Foptimized-ami%252F1.17%252Famazon-linux-2%252Frecommended%252Fimage_id/description?region=<% index .Params `region` %>
39
39
eks_worker_ami="<% index .Params `eksWorkerAMI` %>"
40
40
41
-
# Hosting configuration
42
-
s3_hosting_buckets=[
43
-
"<% index .Params `stagingHostRoot` %>",
44
-
"<% index .Params `stagingFrontendSubdomain` %><% index .Params `stagingHostRoot` %>",
41
+
# Hosting configuration. Each domain will have a bucket created for it, but may have mulitple aliases pointing to the same bucket.
Copy file name to clipboardExpand all lines: templates/terraform/modules/environment/variables.tf
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -44,9 +44,12 @@ variable "eks_worker_ami" {
44
44
description="The (EKS-optimized) AMI for EKS worker instances"
45
45
}
46
46
47
-
variable"s3_hosting_buckets" {
48
-
description="S3 hosting buckets"
49
-
type=set(string)
47
+
variable"hosted_domains" {
48
+
description="Domains to host content for using S3 and Cloudfront. Requires a domain which will be the bucket name and the domain for the certificate, and optional aliases which will have records created for them and will be SubjectAltNames for the certificate. Only a single bucket and CF Distribution will be created per domain."
0 commit comments