Remove asset Terraform code
Delete codified, drifted, or ghost assets by removing the asset code.
Before you begin
The IaC file of the asset you want to remove must be in the VCS that is integrated with Firefly.
Procedure
Select Inventory.
Select the asset(s) and select the Trash icon.
To create a code that makes the IaC file inactive without removing the code, switch the toggle Comment out code.
Select Create Pull Request.
After the pull request is approved, to delete the IaC file from your VCS, merge the pull request with the main repository.
To remove the asset from the cloud, run the
terraform apply
orterraform destroy
command.
Last updated