Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Releases: newcontext-oss/kitchen-terraform

v4.6.0

11 Apr 13:22
36b8392
Compare
Choose a tag to compare
v4.6.0: add fail_fast attribute to verifier (#331)

* Add fail_fast config attr to verifier

* Queue errors if fail fast is disabled

* Disable fail fast behaviour in integration tests

* Add Changelog entry

* Add link to 4.6.0

* Update version to 4.6.0

* Refactor system design

* Refactor #verify

* Update release date

v4.5.0

10 Apr 22:01
4b4c8e3
Compare
Choose a tag to compare
v4.5.0: debug logging of `terraform output` (#330)

* Add DebugLogger

* Use DebugLogger when fetching outputs

* Set second_output to sensitive in attributes suite

* Update Changelog

* Update Gemfile.locks

* Add link to 4.5.0

* Update version to 4.5.0

* Replace instance variable use with attribute

v4.4.0

06 Apr 17:18
Compare
Choose a tag to compare
Update bundles

v4.3.0

21 Jan 03:16
7cdfa11
Compare
Choose a tag to compare
Remove `TF_WARN_OUTPUT_ERRORS` from `terraform apply` (#320)

* Only set TF_WARN_OUTPUT_ERRORS on destroy

Setting this variable on apply can hide configuration issues which would
normally generate an error.

* Implement the spec

* Disable redundant Code Climate plugins

These plugins duplicate behaviour performed by Code Climate checks.

* Include erroneously excluded spec/ in Code Climate

* Update version to 4.3.0

* Add entry to CHANGELOG

* Cache chocolately downloads

* Revert "Cache chocolately downloads"

This reverts commit c2f5a89ed8add703396254b320ede4cbabad6c68.

* Update release date

v4.2.1

19 Jan 15:16
4065a99
Compare
Choose a tag to compare
Remove `-check-variables`. (#319)

* Remove `-check-variables`.

This flag defaults to true and it will be obsolete for Terraform v0.12.

* Implement specification

* Document specification

* Fix erroneous white space

* Update version to 4.2.1

* Add entry to CHANGELOG

* Update bundler to 2.0 on Travis

v4.2.0

30 Dec 02:26
28d1a04
Compare
Choose a tag to compare
Correct permissions on RubyGems API key

v4.1.1

13 Dec 22:16
490cdf4
Compare
Choose a tag to compare
Select workspace before retrieving outputs (#305)

* Select workspace before retrieving outputs

* Fix documented yield param of output methods

* Remove output from shared examples description

* Update version to 4.1.1

* Update Change Log

* Fix Change Log header size

* Update release date

v4.1.0

10 Dec 04:02
d009644
Compare
Choose a tag to compare
Implement support for InSpec ~> v3.0 (#302)

* Update inspec to 3.0

* Test backward compatability of InSpec attributes

* Update Change Log

* Update Ruby 2.3, 2.4 bundles

* Fix code display of system attribute examples

* Add backend: ssh integration tests

* Fix reference to Docker image

* Add missing docker build to 0.11.4

* Use community sshd Docker image

* Use localhost address for Docker host

* Use implicit environment Docker host

* Add rbnacl to test dependencies

rbnacl is required to use ed_25519 keys with InSpec

* Create separate Ruby version directories

* Replace obsolete PrimaDonnaMethod Reek suppression

* Remove duplication of bundle test group

* Remove obsolete development gems

* Exclude test/integration from Code Climate

Typical InSpec control syntax violates complexity and duplication
rules.

* Ensure localized bundle configs are used

* Simplify Kitchen Rake tasks

* Optimize localized Gemfiles

* Add localized caches

* Add bcrypt_pbkdf to test group

* Only test backend-ssh on Linux

* Remove ed25519 requirements from Ruby 2.5

Only Ruby 2.4 performs the backend ssh tests

* Add bastion host to test

* Localize caching

* Update bundler in deploy stage

* Remove group, other permissions from SSH key

* Set up Docker network for bastion tests

* Use key files with bastion host

* Use IP address for Docker host

* Fix IP address notation

* Explicitly set bastion IP address

* Use default Docker bridge network

* Use container port for SSH forwarding

* Revert "Use default Docker bridge network"

This reverts commit 8f9566310886a2068a84141182cc9cfe765ca2b0.

* Test proxy command

* Test shell

* Simplify system names

* Remove first_output attribute from profile

This change further tests backward compatibility with InSpec 3

* Prepare for 4.1.0 release

* Remove global cache configuration

* Cache Terraform install on Windows

* Cache Chocolatey bin directory

* Revert "Cache Chocolatey bin directory"

This reverts commit bfbcb6643156d4d3a3e3aaf3babbde4d0c9c31de.

Caching does not improve the speed of the Terraform install. :(

* Revert "Cache Terraform install on Windows"

This reverts commit 58ce8b495bbecdb7c6466d516ad8d0d61cc140d5.

v4.0.6

03 Dec 14:01
1f3625d
Compare
Choose a tag to compare
Load Terraform outputs in `kitchen verify` (#297)

* Refactor spec for `terraform output`

* Extract outputs logic from apply logic

* Retrieve Terraform outputs in verify action

* Update version to 4.0.6

* Update Change Log

* Update bundles

v4.0.5

02 Dec 15:09
1a601aa
Compare
Choose a tag to compare
Normalize format, escaping of Terraform options (#296)

* Normalize format, escaping of Terraform options

Escaping options which accept arguments of HCL is unreliable. This
commit removes escaping from -backend-config and -var, and applies
single quotes consistently to complex option arguments.

* Double quote Terraform path option arguments

* Escape -backend-config, -var without quotes

* Remove length limit of RSpec output

This change ensures failure output will not be truncated.

* Double quote -backend-config, -var; drop escaping

Windows requires any argument with space to be double quoted. Using
double quotes for all arguments and deferring to the user to escape HCL
input appropriately seems to be the only functional solution.

* Update version to 4.0.5

* Update bundles

* Update Change Log