diff --git a/README.md b/README.md index 5051276..ad35b32 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,8 @@ ** ** This file was automatically generated by the `cloudposse/build-harness`. ** 1) Make all changes to `README.yaml` - ** 2) Run `make init` (you only need to do this once) - ** 3) Run`make readme` to rebuild this file. + ** 2) Install [atmos](https://atmos.tools/install/) (you only need to do this once) + ** 3) Run`atmos readme` to rebuild this file. ** ** (We maintain HUNDREDS of open source projects. This is how we maintain our sanity.) ** @@ -261,7 +261,8 @@ For additional context, refer to some of these links. > - **Customer Workshops.** Engage with our team in weekly workshops, gaining insights and strategies to continuously improve and innovate. > > Request Quote -> +> + ## ✨ Contributing diff --git a/examples/docker-image/main.tf b/examples/docker-image/main.tf index d05632b..c829544 100644 --- a/examples/docker-image/main.tf +++ b/examples/docker-image/main.tf @@ -45,7 +45,7 @@ resource "null_resource" "docker_login" { count = module.this.enabled ? 1 : 0 provisioner "local-exec" { - command = "aws ecr get-login-password --region ${join("", data.aws_region.this.*.name)} | docker login --username AWS --password-stdin ${join("", data.aws_caller_identity.this.*.account_id)}.dkr.ecr.${join("", data.aws_region.this.*.name)}.amazonaws.com" + command = "aws ecr get-login-password --region ${join("", data.aws_region.this.*.region)} | docker login --username AWS --password-stdin ${join("", data.aws_caller_identity.this.*.account_id)}.dkr.ecr.${join("", data.aws_region.this.*.region)}.amazonaws.com" } depends_on = [null_resource.docker_build] diff --git a/main.tf b/main.tf index b173da6..d25f6fd 100644 --- a/main.tf +++ b/main.tf @@ -2,7 +2,7 @@ locals { enabled = module.this.enabled account_id = local.enabled ? data.aws_caller_identity.this[0].account_id : null partition = local.enabled ? data.aws_partition.this[0].partition : null - region_name = local.enabled ? data.aws_region.this[0].name : null + region_name = local.enabled ? data.aws_region.this[0].region : null } module "cloudwatch_log_group" { diff --git a/versions.tf b/versions.tf index b78d471..49b6f61 100644 --- a/versions.tf +++ b/versions.tf @@ -4,7 +4,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = ">= 3.0" + version = ">= 6" } } }