Skip to content

Commit

Permalink
fix: fix ocm operator policy json
Browse files Browse the repository at this point in the history
  • Loading branch information
kumuduh authored May 31, 2024
1 parent 36501e7 commit 5ff2e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/scripts/generate-iam.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ aws iam get-policy --policy-arn=${OCM_POLICY_ARN}
if [ $? != 0 ]; then
echo "missing ocm operator policy...creating from '${OCM_POLICY_FILE}'..."
policy=$(curl -s "${OCM_POLICY_FILE}")
new_policy=${new_policy//\$OCM_ROLE_RESOURCE_FILTER/$OCM_ROLE_RESOURCE_FILTER}
new_policy=${policy//\$OCM_ROLE_RESOURCE_FILTER/$OCM_ROLE_RESOURCE_FILTER}
new_policy=${new_policy//\$OCM_POLICY_RESOURCE_FILTER/$OCM_POLICY_RESOURCE_FILTER}
aws iam create-policy \
--policy-name "${OCM_POLICY_NAME}" \
Expand Down

0 comments on commit 5ff2e6c

Please sign in to comment.