diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cded969..020f4f3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -245,8 +245,8 @@ jobs: aws iam list-policy-versions --policy-arn arn:aws:iam::206226843404:policy/service-hydrocron-api-sit-service-policy aws iam list-instance-profiles-for-role --role-name service-hydrocron-api-sit-service-role - #aws iam delete-policy-version --policy-arn arn:aws:iam::206226843404:policy/service-hydrocron-api-sit-service-policy --version-id - aws iam remove-role-from-instance-profile --instance-profile-name service-hydrocron-api-sit-instance-profile --role-name service-hydrocron-api-sit-service-role + aws iam delete-policy-version --policy-arn arn:aws:iam::206226843404:policy/service-hydrocron-api-sit-service-policy --version-id v1 + #aws iam remove-role-from-instance-profile --instance-profile-name service-hydrocron-api-sit-instance-profile --role-name service-hydrocron-api-sit-service-role aws iam delete-instance-profile --instance-profile-name service-hydrocron-api-sit-instance-profile aws iam delete-role --role-name service-hydrocron-api-sit-service-role