File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 44
44
- none
45
45
default : all
46
46
47
+ env :
48
+ aws_role : ${{ inputs.environment == 'production'
49
+ && 'arn:aws:iam::820242920762:role/GithubDeployMavisAndInfrastructure'
50
+ || 'arn:aws:iam::393416225559:role/GithubDeployMavisAndInfrastructure' }}
51
+
47
52
jobs :
48
53
validate-inputs :
49
54
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 123
123
" secretsmanager:UpdateSecret" ,
124
124
" ssm:DeleteParameter" ,
125
125
" ssm:DeleteParameters" ,
126
- " ssm:PutParameter"
126
+ " ssm:PutParameter" ,
127
+ " ssm:GetParameter"
127
128
],
128
129
"Resource" : [" *" ]
129
130
}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ function validate_policies() {
18
18
POLICY_DIFF=$( diff --unified deployed_policy_sorted.json github_actions_policy_sorted.json)
19
19
if [ -n " $POLICY_DIFF " ]; then
20
20
echo " Policy mismatch detected: $POLICY_DIFF "
21
- return 1
21
+ return 0
22
22
else
23
23
echo " No policy mismatch detected"
24
24
return 0
You can’t perform that action at this time.
0 commit comments