Fixing drifts

Drifted assets are assets which are configured differently from the one described in the IaC stack. Fixing drifts keeps assets in their optimal state.

Before you begin

  • Verify your version control system (VCS) is integrated with Firefly.

  • Verify the Terraform IaC stack of the drifted asset is in your VCS.

Procedure

  1. Go to the left pane > Inventory.

  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