Tag-triggered runs do not include the triggering tag in the run environment. There is no analogue to TF_VAR_spacelift_commit_branch or TF_VAR_spacelift_commit_sha for tags, despite the tag being the trigger and being available internally (visible in the UI and queryable via the GraphQL API as stack.run.commit.tag). Any consumer that needs the tag inside Terraform has to fetch it out-of-band.
Please authenticate to join the conversation.
π In Review
π‘ Feature Requests
VCS
About 6 hours ago
Get notified by email when there are changes.
π In Review
π‘ Feature Requests
VCS
About 6 hours ago
Get notified by email when there are changes.