From 63932d121a73b6a837ec9caf98b8a4155e45de85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Tue, 7 Jan 2025 10:41:25 +0100 Subject: [PATCH 1/2] Grant tony access to main tf env --- tf/environments/prod/main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/tf/environments/prod/main.tf b/tf/environments/prod/main.tf index f3a01dd..c70203b 100644 --- a/tf/environments/prod/main.tf +++ b/tf/environments/prod/main.tf @@ -86,6 +86,7 @@ module "adm_iam_roles" { authorized_accounts = [ "arn:aws:iam::${local.ooni_main_org_id}:user/art", + "arn:aws:iam::${local.ooni_main_org_id}:user/tony", "arn:aws:iam::${local.ooni_main_org_id}:user/mehul" ] } From a3e941244ce9a8dfa8f4da5819618d3938ed6d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Tue, 7 Jan 2025 14:10:46 +0100 Subject: [PATCH 2/2] Add tony and luis to terraform configs --- tf/environments/dev/main.tf | 6 +++--- tf/environments/prod/main.tf | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/tf/environments/dev/main.tf b/tf/environments/dev/main.tf index 2b14235..c7c3293 100644 --- a/tf/environments/dev/main.tf +++ b/tf/environments/dev/main.tf @@ -75,10 +75,10 @@ module "adm_iam_roles" { source = "../../modules/adm_iam_roles" authorized_accounts = [ + "arn:aws:iam::${local.ooni_main_org_id}:user/art", "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" + "arn:aws:iam::${local.ooni_main_org_id}:user/luis", + "arn:aws:iam::${local.ooni_main_org_id}:user/tony" ] } diff --git a/tf/environments/prod/main.tf b/tf/environments/prod/main.tf index c70203b..d9152ae 100644 --- a/tf/environments/prod/main.tf +++ b/tf/environments/prod/main.tf @@ -86,8 +86,9 @@ module "adm_iam_roles" { authorized_accounts = [ "arn:aws:iam::${local.ooni_main_org_id}:user/art", - "arn:aws:iam::${local.ooni_main_org_id}:user/tony", - "arn:aws:iam::${local.ooni_main_org_id}:user/mehul" + "arn:aws:iam::${local.ooni_main_org_id}:user/luis", + "arn:aws:iam::${local.ooni_main_org_id}:user/mehul", + "arn:aws:iam::${local.ooni_main_org_id}:user/tony" ] }