From 014894bbaaeaaf91e9e1e06fa8ce494bbc4f3bc6 Mon Sep 17 00:00:00 2001 From: vggonzal <9Tcostoamm> Date: Wed, 9 Aug 2023 10:39:52 -0700 Subject: [PATCH] implementing the lambda function --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5370ab3..10571dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -239,9 +239,9 @@ jobs: echo ${{ env.THE_ENV }} echo ${{ env.THE_VERSION }} source bin/config.sh ${{ env.THE_ENV }} - 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-role --role-name hydrocron-codebuild + #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-role --role-name hydrocron-codebuild terraform init -reconfigure -backend-config="bucket=podaac-services-${{ env.THE_ENV }}-terraform" -backend-config="region=us-west-2" terraform plan -var-file=tfvars/${{ env.THE_ENV }}.tfvars -var="app_version=${{ env.THE_VERSION }}" -out="tfplan" terraform apply -auto-approve tfplan