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

  1. Select Inventory > Drifted.

  2. 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.

  3. 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