From c50520df3ec77624a1d6e3bc2f581d158468790b Mon Sep 17 00:00:00 2001 From: DecFox <33030671+DecFox@users.noreply.github.com> Date: Sun, 19 May 2024 12:43:34 +0530 Subject: [PATCH] cleanup: sync github user config with console config (#60) There were some config changes made to the AWS `dev` environment through the console. This diff sync the changes with in terraform to ensure consistent state --- .github/workflows/check_terraform.yml | 2 +- tf/environments/dev/main.tf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check_terraform.yml b/.github/workflows/check_terraform.yml index 89c65e3e..cd187031 100644 --- a/.github/workflows/check_terraform.yml +++ b/.github/workflows/check_terraform.yml @@ -17,7 +17,7 @@ jobs: terraform: strategy: matrix: - environment: "dev" + environment: ["dev"] runs-on: ubuntu-latest if: ${{ !startsWith(github.event.head_commit.message, 'skip-terraform:') }} diff --git a/tf/environments/dev/main.tf b/tf/environments/dev/main.tf index 75ec2c6c..78281eb6 100644 --- a/tf/environments/dev/main.tf +++ b/tf/environments/dev/main.tf @@ -67,6 +67,7 @@ module "adm_iam_roles" { source = "../../modules/adm_iam_roles" authorized_accounts = [ + "arn:aws:iam::${local.ooni_main_org_id}:user/mehul", "arn:aws:iam::${local.ooni_dev_org_id}:user/mehul", "arn:aws:iam::${local.ooni_dev_org_id}:user/art", "arn:aws:iam::${local.ooni_main_org_id}:user/art"