Skip to content

Latest commit

 

History

History
192 lines (122 loc) · 5.62 KB

CHANGELOG.md

File metadata and controls

192 lines (122 loc) · 5.62 KB

2.0.0 (02/12/2024)

BREAKING CHANGES:

  • It is now possible, with a validation check, to destroy the bootstrap.
  • Bootstrap and the example component have been completely rewritten.
  • .terraform and backend_tfscaffold.tf no longer removed during bootstrap cleanup
  • Bootstrap and examples now configured to use terraform >= 1.10.0.
  • Bootstrap and examples now require terraform > 1.0.0.
  • Bootstrap and examples now require AWS Provider ~> 5.79.0.
  • tfscaffold tagging default have changed to prefix tag keys with tfscaffold:

FEATURES:

  • Bootstraps can now be fully and cleanly destroyed, however only interactively, requiring a manual text input to confirm.
  • A DynamoDB lock table has been added to Bootstrap.
  • Bootstrap now uses AWS Provider v4+ S3 Bucket property resources instead of declaring all configuration in a single bucket resource.
  • The example component has been rewritten to reflect modern naming standards, and idempotency structures.
  • An example module has been added, which is called from the example component.
  • Example region changed to eu-west-2.
  • bin/docs.sh has been added to recursively apply terraform-docs (https://github.com/terraform-docs/terraform-docs) to all directories beneath the project root that contain a variables.tf file.
  • Remove unnecessary compatability log entry for auto-approve.
  • Remove unnecessary non-current version transitions from the bootstrap bucket.

BUG FIXES:

  • Do not write .terraform.output.json after a destroy.
  • -compact-warnings is no longer passed to terraform init

CHORES:

  • .gitignore updated

1.10.2 (02/12/2024)

BUG FIXES:

  • Correct terraform.output.json to .terraform.output.json

1.10.1 (02/12/2024)

BUG FIXES:

  • Add **/terraform.output.json to the default .gitignore

1.10.0 (02/12/2024)

FEATURES:

  • Apply/Refresh/Destroy actions now output a terraform.output.json file containing the contents of terraform output -json -no-color. On by default, can be disabled.
  • Ignore -w/--compact-warnings for commands that don't support it so the user can specify it all the time without worrying which commands support it.

BUG FIXES:

  • Fix plugin-cache base directory from $(pwd) to ${base_path} so it is correctly located if terraform.sh is invoked from somewhere other than the project root.

CHORES:

  • Fix inappropriate double-quoting of non-interpolated strings.

1.9.1 (06/09/2024)

BUG FIXES:

  • Correct selection of lockfile_or_upgrade, thanks to @edmundcraske-bjss

1.9.0 (06/09/2024)

FEATURES:

  • New options:
    • -l/--lockfile: Local lock file
    • -t/--lock-table: Lock with DynamoDB Table
  • Bootstrap:
    • New multi-resource approach to S3 Bucket
    • KMS Key Alias for S3 Bucket KMS Key, for easy data-sourcing elsewhere
    • New tfscaffold: prefix for tfscaffold tags
  • Updated the warning for duplicate input variables

BUG FIXES:

  • Some alignment and ordering

1.8.0 (Unreleased)

  • Merged into 1.9.0

1.7.1 (14/07/2023)

  • Explicitly declare and clear out, refresh and destroy in case someone exports them

1.7.0 (29/10/2021)

  • Added custom action shell: a bash login shell between component init and cleanup

1.6.1 (24/05/2021)

FEATURES:

  • Added -d/--detailed-exitcode to propagate terraform exit codes to shell
  • Added -n/--no-color appends -co-color to all tf calls
  • Added -w/--compact-warnings appends -compact-warnings to all terraform calls

BUG FIXES:

  • Getopt fixes
  • Various small fixes

NOTES:

  • Support for early versions of terraform has been dropped (<0.11)
  • Default backend bucket name has changed, pass in -b to overwrite
  • Scaffold bootstrap updated

1.4.3 (16/12/2019)

  • Remove extraneous eval from secret parsing
  • Remove deprecated/irrelevant module-depth parameter

1.4.2 (05/02/2018)

  • Add an init with -backend=false in bootstrap mode, otherwise providers are not downloaded
  • Fix bootstrap output that was using a now deprecated bucket resource attribute
  • Add an indicative .terraform-version file for tfenv support in bootstrap

1.4.1 (18/12/2017)

  • Remove -upgrade from init. Added prematurely. Can go back in when 0.9 support is dropped.

1.4.0 (18/12/2017)

  • Support terraform 0.10/0.11, bypassing new built-in approval mechanism.
  • Explicitly cache plugin downloads.
  • Set TF_IN_AUTOMATION.

1.3.1 (27/07/2017)

  • Change from error to warn on non-presence of requested group variables file

1.3.0 (26/07/2017)

  • Introduce the group variables file functionality

1.2.0 (09/06/2017)

  • Merge bootstrap functionality into the main script

1.1.4 (16/05/2017)

  • Global and Region scoped variables files

1.1.3 (12/04/2017)

  • Support the use of .terraform-version file in components when in the presence of tfenv

1.1.2 (06/04/2017)

  • Provide a case for import that requires the variable file parameters

1.1.1 (06/04/2017)

  • Fix 0.9.2+ support for bootstrap.sh

1.1.0 (28/03/2017)

  • Move from terraform-0.8 to terraform-0.9
    • Change remote state from manual config to temporary-file "backend"
    • Complain in the code comments about Hashicorp forcing my hand on this
    • Don't push state any more; there's no persisted local copy to push
  • Same change for bootstrap.sh (UNTESTED!)

1.0.1 (15/03/2017)

  • Bugfix: Duplicate variable warning conditional to presence of duplicates

1.0.0 (14/03/2017)

  • Add CHANGELOG.md
  • Add version and help parameters to bin/terraform.sh
  • Add optional unencrypted S3 parameters
  • Move secrets S3 key path to more appropriate place
  • Test and Warn on duplicate variables
  • Support arbitrary terraform actions
  • Additional comments