From 65eda334d6e8c9bf6787791a385ae837986c68af Mon Sep 17 00:00:00 2001 From: vggonzal <9Tcostoamm> Date: Wed, 9 Aug 2023 14:40:22 -0700 Subject: [PATCH] implementing the lambda function --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b14c33f..0abac20 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -243,13 +243,13 @@ jobs: aws iam list-roles aws iam list-policies #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 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 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 detach-role-policy --role-name service-hydrocron-api-sit-service-role --policy-arn arn:aws:iam::206226843404:policy/service-hydrocron-api-sit-service-policy - #aws iam delete-policy --policy-arn arn:aws:iam::206226843404:policy/service-hydrocron-api-sit-service-policy + 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 detach-role-policy --role-name service-hydrocron-api-sit-service-role --policy-arn arn:aws:iam::206226843404:policy/service-hydrocron-api-sit-service-policy + aws iam delete-policy --policy-arn arn:aws:iam::206226843404:policy/service-hydrocron-api-sit-service-policy aws iam delete-role --role-name service-hydrocron-api-sit-service-role #aws iam delete-policy --policy-arn arn:aws:iam::206226843404:policy/service-hydrocron-api-sit-service-policy