Hashicorp Terraform
Overview
The Hashicorp Terraform State Finder aspect is responsible for finding the Terraform state of a given resource. It is used to find the Terraform state of a given resource and write it to the status of the object.
The Aspect is available as a Container image at:
registry.syntasso.io/syntasso/ske-tfstate-finder:VERSION
Check the release notes below for information on each available version.
Release Notes
v0.7.0 (2025-02-11)
Bug fixes
- Support updating an existing
/kratix/metadata/status.yaml
file
v0.6.0 (2025-02-07)
Features
- You can specify the exact commit SHA that should be used when fetching the TF state from TFE. This is useful when you want to fetch the TF state from a commit that is merged into the main branch outside of Kratix.
- Always fetch the latest compatible TF state from TFE, previously the TF state was fetched from the TFE Run for the commit Kratix created.
v0.5.2 (2024-10-16)
Compatibility: SKE >= v0.6.0
Bug Fixes
- Decompress Workload objects before processing them
v0.4.0 (2024-08-07)
Features
- improve logging
Bug Fixes
- no longer panic on errors
v0.3.0 (2024-08-06)
Features
- always write outputs to /kratix/metadata
- check the run status when fetching outputs from tfe
- ske-tfstate-finder image gets all TF Destinations/WorkPlacements
- write object-relevant outputs to status automagically
- write tf outputs to object status
- support finding works of promises
Bug Fixes
- check tf credentials secret key not empty
- each pipeline now runs with separate service account
- handle existing status entries
- handle no tf destinations found (inc. retries)
- handle no tf outputs
- handle the workplacement not having a VersionID
- improve naming of output files in pipeline
- only get promise work when it has resource requests
- OUTPUT_TO_STATUS -> SKIP_STATUS for a better default
- write outputs as yaml, not json
v0.2.0 (2024-07-06)
Features
- check the run status when fetching outputs from tfe