Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Commit

Permalink
Fix the TF State Resource Name (#21)
Browse files Browse the repository at this point in the history
* debugging tutorial

* reset TODO

* comment on v5 pinnning
  • Loading branch information
milldr authored Jun 6, 2023
1 parent 331ab77 commit 574fc00
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
module "cdn" {
source = "cloudposse/cloudfront-s3-cdn/aws"
version = "0.83.0"
version = "0.90.0"

name = "static-site"
website_enabled = true
name = "static-site"
website_enabled = true
cloudfront_access_logging_enabled = false

context = module.this.context
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
terraform {
required_version = ">= 1.0.0"

required_providers {
aws = {
source = "hashicorp/aws"
# Note, we are not upgrading to v5 until this issue is resolved:
# https://github.com/cloudposse/terraform-aws-cloudfront-s3-cdn/issues/279
version = "< 5"
}
}
}
4 changes: 2 additions & 2 deletions 03-first-aws-environment/stacks/catalog/globals.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ terraform:
backend:
s3:
encrypt: true
bucket: "acme-ue2-tfstate-TODO"
bucket: "acme-ue2-root-tfstate-TODO"
key: "terraform.tfstate"
dynamodb_table: "acme-ue2-tfstate-lock-TODO"
dynamodb_table: "acme-ue2-root-tfstate-lock-TODO"
acl: "bucket-owner-full-control"
region: "us-east-2"

0 comments on commit 574fc00

Please sign in to comment.