Skip to content

Commit 54e64c0

Browse files
committed
add provider hashes for linux amd64 and arm64 to lockfile
1 parent 2049ffb commit 54e64c0

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

Makefile

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,16 +119,18 @@ invalidate_cloudfront:
119119
aws cloudfront wait invalidation-completed --distribution-id $(DISTRIBUTION_ID_2) --id $(INVALIDATION_ID_2)
120120
@echo "CloudFront invalidation completed!"
121121

122+
init_terraform:
123+
terraform -chdir=terraform/envs/qa init
124+
terraform -chdir=terraform/envs/prod init
125+
122126
install:
123127
yarn -D
124128
pip install cfn-lint
125-
terraform -chdir=terraform/envs/qa init -lockfile=readonly
126-
terraform -chdir=terraform/envs/prod init -lockfile=readonly
127129

128130
test_live_integration: install
129131
yarn test:live
130132

131-
test_unit: install
133+
test_unit: install init_terraform
132134
yarn lint
133135
cfn-lint cloudformation/**/*
134136
terraform -chdir=terraform/envs/qa fmt -check
@@ -149,3 +151,7 @@ dev_health_check:
149151

150152
prod_health_check:
151153
curl -f https://core.acm.illinois.edu/api/v1/healthz && curl -f https://core.acm.illinois.edu
154+
155+
lock_terraform: init_terraform
156+
terraform -chdir=terraform/envs/qa providers lock -platform=windows_amd64 -platform=darwin_amd64 -platform=darwin_arm64 -platform=linux_amd64 -platform=linux_arm64
157+
terraform -chdir=terraform/envs/prod providers lock -platform=windows_amd64 -platform=darwin_amd64 -platform=darwin_arm64 -platform=linux_amd64 -platform=linux_arm64

terraform/envs/prod/.terraform.lock.hcl

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

terraform/envs/qa/.terraform.lock.hcl

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)