(MODE-11365) fixing terraform module fetch to deploy alb.
This commit is contained in:
parent
7323760507
commit
5ef4d16774
1 changed files with 4 additions and 2 deletions
|
|
@ -94,13 +94,14 @@ jobs:
|
||||||
aws configure set aws_access_key_id "${AWS_DEV_ACCESS_KEY}"
|
aws configure set aws_access_key_id "${AWS_DEV_ACCESS_KEY}"
|
||||||
aws configure set aws_secret_access_key "${AWS_DEV_SECRET_KEY}"
|
aws configure set aws_secret_access_key "${AWS_DEV_SECRET_KEY}"
|
||||||
aws configure set region "${REGION}"
|
aws configure set region "${REGION}"
|
||||||
|
ssh -T -oStrictHostKeyChecking=no git@github.com || true
|
||||||
|
mkdir ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts
|
||||||
wget https://github.com/gruntwork-io/terragrunt/releases/download/v0.14.10/terragrunt_linux_amd64 -O terragrunt
|
wget https://github.com/gruntwork-io/terragrunt/releases/download/v0.14.10/terragrunt_linux_amd64 -O terragrunt
|
||||||
chmod a+x terragrunt
|
chmod a+x terragrunt
|
||||||
mv terragrunt /bin/
|
mv terragrunt /bin/
|
||||||
- run:
|
- run:
|
||||||
name: Deploy tileserver-alb to fra dev
|
name: Deploy tileserver-alb to fra dev
|
||||||
command: |
|
command: |
|
||||||
ssh-keyscan github.com >> ~/.ssh/known_hosts
|
|
||||||
cd /tmp/repo/artifact/deployment/eu-central-1/dev/tileserver-alb && \
|
cd /tmp/repo/artifact/deployment/eu-central-1/dev/tileserver-alb && \
|
||||||
terragrunt apply --terragrunt-non-interactive -auto-approve
|
terragrunt apply --terragrunt-non-interactive -auto-approve
|
||||||
- run:
|
- run:
|
||||||
|
|
@ -125,10 +126,11 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Configure deployment
|
name: Configure deployment
|
||||||
command: |
|
command: |
|
||||||
ssh-keyscan github.com >> ~/.ssh/known_hosts
|
|
||||||
aws configure set aws_access_key_id "${AWS_PROD_ACCESS_KEY}"
|
aws configure set aws_access_key_id "${AWS_PROD_ACCESS_KEY}"
|
||||||
aws configure set aws_secret_access_key "${AWS_PROD_SECRET_KEY}"
|
aws configure set aws_secret_access_key "${AWS_PROD_SECRET_KEY}"
|
||||||
aws configure set region "${REGION}"
|
aws configure set region "${REGION}"
|
||||||
|
ssh -T -oStrictHostKeyChecking=no git@github.com || true
|
||||||
|
mkdir ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts
|
||||||
wget https://github.com/gruntwork-io/terragrunt/releases/download/v0.14.10/terragrunt_linux_amd64 -O terragrunt
|
wget https://github.com/gruntwork-io/terragrunt/releases/download/v0.14.10/terragrunt_linux_amd64 -O terragrunt
|
||||||
chmod a+x terragrunt
|
chmod a+x terragrunt
|
||||||
mv terragrunt /bin/
|
mv terragrunt /bin/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue