Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
implementing the lambda function
Browse files Browse the repository at this point in the history
  • Loading branch information
vggonzal authored and vggonzal committed Aug 9, 2023
1 parent 706aa74 commit e2558c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,10 @@ jobs:
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-service-role
aws iam list-instance-profiles | grep service-hydrocron-api-sit-instance-profile
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
aws iam delete-role --role-name hydrocron-service-role
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

0 comments on commit e2558c2

Please sign in to comment.