Introduction
In Terraform Enterprise, tracking changes to Variable Sets is essential for auditing and troubleshooting configuration modifications. This guide will walk you through how to check the logs of Variable Sets changes in the support bundle .
Expected Outcome
By following this guide, In support bundle , you will be able to locate and review the logs of changes made to Variable Sets .
Use Case
This guide is useful for administrators and support teams who need to audit changes to Variable Sets, investigate potential misconfigurations, or troubleshoot issues related to variable sets in Terraform Enterprise.
Procedure
-
Step 1: Retrieve the Variable Set ID
Navigate to the following API endpoint to obtain the Variable Set ID:https://<tfe_hostname>/api/v2/workspaces/<ws_id>/varsets
You will receive a response containing the Variable Set ID, which will look something like this:
"id": "varset-wAbRRpwy5S53cJhW"
Step 2: Locate the Variable Set Logs
Once you have the Variable Set ID, open the support bundle or access the Atlas logs. Search for the retrieved Variable Set ID, and you will find logs detailing any creation or updates made to that Variable Set.