File tree 5 files changed +17
-8
lines changed
5 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ docs/dce/
25
25
* .tfstate
26
26
* .tfstate. *
27
27
28
+ # lock file
29
+ * .lock.hcl
30
+
28
31
# Crash log files
29
32
crash.log
30
33
@@ -89,4 +92,4 @@ venv.bak/
89
92
# mkdocs documentation
90
93
/site
91
94
92
- tests /integration /test.cfg
95
+ tests /integration /test.cfg
Original file line number Diff line number Diff line change
1
+ ## v0.37.0
2
+
3
+ - Update pipelines to use latest terraform
4
+ - Update terraform required version to be 0.13.7 as minimum viable to run module
5
+
1
6
## v0.36.1
2
7
3
8
- Fix: Remove default 25 scan limit when querying for leases
Original file line number Diff line number Diff line change 1
1
terraform {
2
- required_version = " ~>0.13.7"
2
+ # Tested up to 1.7.4
3
+ required_version = " >= 0.13.7"
3
4
4
5
required_providers {
5
6
aws = {
Original file line number Diff line number Diff line change 44
44
# Install Terraform
45
45
- task : TerraformInstaller@0
46
46
inputs :
47
- terraformVersion : " 0.13.7 "
47
+ terraformVersion : " 1.7.4 "
48
48
displayName : " Install Terraform"
49
49
50
50
# terraform init
Original file line number Diff line number Diff line change 9
9
10
10
variables :
11
11
GO_VERSION : 1.21.0
12
- TERRAFORM_VERSION : 0.13.7
12
+ TERRAFORM_VERSION : 1.7.4
13
13
14
14
# Run builds for PRs against `master`
15
15
pr :
@@ -216,6 +216,7 @@ stages:
216
216
217
217
# terraform init
218
218
- bash : |
219
+ set -ex
219
220
cd modules
220
221
cat ./backend.tf
221
222
terraform init -input=false
@@ -347,13 +348,12 @@ stages:
347
348
348
349
- bash : |
349
350
set -ex
350
- namespace=$(cat ./namespace.txt)
351
+ export TF_VAR_namespace=$(cat ./namespace.txt)
352
+ export TF_VAR_budget_notification_from_email=$(NOTIFY_EMAIL)
351
353
352
354
cd modules
353
355
terraform init -input=false
354
- terraform destroy -force \
355
- -var="namespace=$(namespace)" \
356
- -var="budget_notification_from_email=$(NOTIFY_EMAIL)"
356
+ terraform destroy -auto-approve
357
357
displayName: "Terraform destroy"
358
358
359
359
# End the DCE lease
You can’t perform that action at this time.
0 commit comments