File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -556,7 +556,7 @@ resource "aws_iam_role_policy_attachment" "github_actions_policy_pre_prod" {
556556resource "aws_iam_policy" "github_actions_policy_pre_prod" {
557557 count = local. is_pre_production ? 1 : 0
558558 description = null
559- name = " github-actions-policy"
559+ name = " ${ terraform . workspace } - github-actions-policy"
560560 name_prefix = null
561561 path = " /"
562562 policy = jsonencode (
@@ -818,7 +818,7 @@ resource "aws_iam_role_policy_attachment" "github_extended_policy_1_pre_prod" {
818818resource "aws_iam_policy" "github_extended_policy_1_pre_prod" {
819819 count = local. is_pre_production ? 1 : 0
820820 description = " more required items for GitHub access"
821- name = " github-extended-policy-1"
821+ name = " ${ terraform . workspace } - github-extended-policy-1"
822822 name_prefix = null
823823 path = " /"
824824 policy = jsonencode (
You can’t perform that action at this time.
0 commit comments