From ce651ebe28660f7642042d9dc05d7db231d3b4e4 Mon Sep 17 00:00:00 2001 From: "Erik Osterman (CEO @ Cloud Posse)" Date: Wed, 11 Sep 2024 16:04:08 -0500 Subject: [PATCH] Migrate new test account (#150) * chore: Migrate new test account * Fix bats * Fix bats --------- Co-authored-by: Igor Rodionov --- .github/workflows/chatops.yml | 7 ++++--- .github/workflows/release.yml | 5 ++++- examples/complete/outputs.tf | 9 ++++++--- examples/complete/variables.tf | 3 ++- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/chatops.yml b/.github/workflows/chatops.yml index c3d47fa..793a7a6 100644 --- a/.github/workflows/chatops.yml +++ b/.github/workflows/chatops.yml @@ -8,9 +8,10 @@ permissions: pull-requests: write id-token: write contents: write + statuses: write jobs: - terraform-module: + test: uses: cloudposse/.github/.github/workflows/shared-terraform-chatops.yml@main - secrets: - github_access_token: ${{ secrets.REPO_ACCESS_TOKEN }} + if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, '/terratest') }} + secrets: inherit diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f968068..dc8a750 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,10 @@ on: types: - published -permissions: {} +permissions: + id-token: write + contents: write + pull-requests: write jobs: terraform-module: diff --git a/examples/complete/outputs.tf b/examples/complete/outputs.tf index b43cdaa..7d7f14f 100644 --- a/examples/complete/outputs.tf +++ b/examples/complete/outputs.tf @@ -1,13 +1,16 @@ output "public_subnet_cidrs" { - value = module.subnets.public_subnet_cidrs + value = module.subnets.public_subnet_cidrs + description = "List of public subnet CIDRs" } output "private_subnet_cidrs" { - value = module.subnets.private_subnet_cidrs + value = module.subnets.private_subnet_cidrs + description = "List of private subnet CIDRs" } output "vpc_cidr" { - value = module.vpc.vpc_cidr_block + value = module.vpc.vpc_cidr_block + description = "VPC CIDR" } output "efs_arn" { diff --git a/examples/complete/variables.tf b/examples/complete/variables.tf index e3e76b6..216753c 100644 --- a/examples/complete/variables.tf +++ b/examples/complete/variables.tf @@ -1,5 +1,6 @@ variable "region" { - type = string + type = string + description = "AWS region" } variable "availability_zones" {