Skip to content

Commit 204348c

Browse files
committed
Pin platform in TF docker compose file, allows running plan on ARM
1 parent 672459a commit 204348c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/terraform_plan.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
AWS_SECRET_ACCESS_KEY: ${{ secrets.aws_secret_production }}
1717
AWS_REGION: ${{ secrets.aws_region_production }}
1818
run: ./scripts/infra plan
19+
1920
- name: Plan staging
2021
if: github.base_ref == 'staging'
2122
env:
@@ -24,11 +25,12 @@ jobs:
2425
AWS_SECRET_ACCESS_KEY: ${{ secrets.aws_secret_staging }}
2526
AWS_REGION: ${{ secrets.aws_region_staging }}
2627
run: ./scripts/infra plan
28+
2729
- name: Plan dev
2830
if: github.base_ref == 'dev'
2931
env:
3032
ENV: dev
3133
AWS_ACCESS_KEY_ID: ${{ secrets.aws_key_dev }}
3234
AWS_SECRET_ACCESS_KEY: ${{ secrets.aws_secret_dev }}
3335
AWS_REGION: ${{ secrets.aws_region_dev }}
34-
run: ./scripts/infra plan
36+
run: ./scripts/infra plan

terraform/docker/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
version: "3.7"
21
services:
32
terraform:
3+
platform: linux/amd64
44
image: globalforestwatch/terraform:v0.13.3
55
volumes:
66
- ../../:/usr/local/src

0 commit comments

Comments
 (0)