Commit Graph

19 Commits

Author SHA1 Message Date
Ciprian Hacman f623541879 Bump Terraform tag to v1.3.0 2022-09-26 08:48:43 +03:00
Peter Rifel 7b4dbd486d
Check for hardcoded partitions in integration tests 2021-10-30 06:42:13 -05:00
Ciprian Hacman b1be79800b Use host network when running docker 2021-09-24 11:15:13 +03:00
Peter Rifel db5a1251c9
Upgrade terraform to 1.0.7 2021-09-23 22:49:25 -05:00
Peter Rifel adf60a266e
Update terraform to 1.0.5 2021-08-24 18:31:08 -05:00
Ciprian Hacman d407c62e5f Always install the latest plugin versions for Terraform tests 2021-05-10 17:02:41 +03:00
Peter Rifel d15168c74a
Update verify-terraform to use 0.15.3
This updates the GPG key according to https://discuss.hashicorp.com/t/hcsec-2021-12-codecov-security-event-and-hashicorp-gpg-key-exposure/23512
2021-05-09 13:57:08 -04:00
Peter Rifel 39072df39c
Update terraform and cloudformation lint versions 2021-04-19 21:38:31 -05:00
Barry Melbourne a04a523434 Update Terraform to v0.14.8 2021-03-14 16:09:43 +00:00
Ciprian Hacman a7bb949936 Add possibility to set volume throughput for gp3 volumes 2021-01-05 13:18:32 +02:00
Barry Melbourne 84417c330b Set minimum Terraform version to 0.12.26/0.13.0 2020-10-28 20:24:41 +00:00
Justin SB 5f9d3b3431 verify-terraform: rearrange arguments to find
Otherwise we get a warning:

"find: warning: you have specified the global option -maxdepth after the argument -type, but global options are not positional, i.e., -maxdepth affects tests specified before it as well as those specified after it.  Please specify global options before other arguments."
2020-09-07 17:35:57 -04:00
Peter Rifel bd771c6b6c
Update verify-terraform to use 0.13.0 2020-08-12 22:19:17 -05:00
Justin SB aeb690e2cf Don't try to delete terraform providers
Because we are running it in docker, I was hitting permission issues
during the cleanup step of verify-terraform.
2020-07-13 12:04:08 -04:00
Peter Rifel 5ad7eac3ae
Cache terraform's providers between tests
The provider binaries are in the hundreds of MBs and by defaulta are redownloaded into each integration tests' directory, this is a waste of bandwidth, time, and space.

TF supports specifying a provider cache directory [0] which will avoid redownloading them and storing them in multiple places, which should speed up the job time by a bit.

I was having trouble getting it to work with TF 0.12 so I bumped us up to the latest 0.13 beta (stable is scheduled for ~1 month from now)

[0] https://www.terraform.io/docs/configuration/providers.html#provider-plugin-cache
2020-06-18 11:55:52 -05:00
Peter Rifel 5499402227
dont allocate tty in `docker run`, fixes prow jobs 2020-06-16 21:30:53 -05:00
Peter Rifel 2f098b3ac3 Make verify-terraform script blocking now that it passes 2020-04-08 22:16:57 -05:00
Peter Rifel 4e6e00bec1 Add Terraform 0.12 rendering support and feature flag 2020-04-05 21:18:03 -05:00
Peter Rifel a0e1672cdc add terraform testing 2020-03-31 14:50:45 -05:00