Fix drifts
Drifted assets are assets which are configured differently from the one described in the IaC stack. Fixing drifts keeps your cloud in its optimal state.
Before you begin
Verify your VCS is integrated with Firefly.
Verify the Terraform IaC stack of the drifted asset is in your VCS.
Procedure
Select Inventory > Drifted.
Select the row of the desired asset or the kebab
> Drift Details. The window appears and displays the difference between the Running Configuration (cloud value) and the Desired Configuration (IaC state value).
Drifted code block: Cloud value vs. IaC state value To fix the drift in the IaC repository, select Fix Drift > Create Pull Request.
To refresh the Terraform state, copy and run the provided
terraform refresh
command in the CLI where your Terraform workspace is configured.
To fix the asset drifts in the cloud and not in the IaC repository, copy and run the provided
terraform apply
command in the CLI where your Terraform workspace is configured.
Last updated
Was this helpful?