This action updates a single terraform cloud variable variable.
Required An API token for Terraform Cloud..
Required The Terraform Cloud workspace to update.
Required The Terraform Cloud organization the workspace belongs to.
Required The terraform cloud variable key to update.
Required The terraform cloud variable value.
uses: HussleHQ/terraform-trigger-cloud-run@v1
with:
tf-token: ${{ secrets.TERRAFORM_TOKEN }}
workspace-name: ${{ env.WORKSPACE_NAME }}
org-name: ${{ env.ORG_NAME }}
# git add as per usual
git tag -a -m 'Thousands of gyms. Zero contracts.' v1
git push --follow-tags