Skip to content

Commit

Permalink
remove terraform deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
ybmadhu committed Aug 4, 2021
1 parent 9fe3505 commit 0ba33ab
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
12 changes: 0 additions & 12 deletions .github/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,3 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.AWS_REGION }}

- name: Check tag version
run: |
echo $RELEASE_VERSION
echo ${{ env.RELEASE_VERSION }}
echo "AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }}" >> $GITHUB_ENV
echo "AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }}" >> $GITHUB_ENV
- name: terraform initialization
run: cd devops/ && terraform init
- name: terraform deployment
run: cd devops/ && terraform apply -var="tag=${{ env.RELEASE_VERSION }}" -auto-approve


File renamed without changes.
4 changes: 0 additions & 4 deletions create_aws_ecr_repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ REGION=ap-south-1
SECRET_NAME=${REGION}-ecr-registry
[email protected]

#
# Fetch token (which will expire in 12 hours)
#

TOKEN=`aws ecr --region=$REGION get-authorization-token --output text --query authorizationData[].authorizationToken | base64 -d | cut -d: -f2`

#
Expand Down

0 comments on commit 0ba33ab

Please sign in to comment.