These following steps must be done for every resources, for avoiding repetitions, look at the detailed instructions at the beginning of the page.
- Import a resource
- Generates a speculative execution plan with terraform plan command
- Create the resource with terraform apply command
- Use terraform plan again
- Use terraform apply again
- Destroy the resource with the command terraform destroy
Expected Results
- The resource is well imported in the terraform.tfstate file and you can print it with the terraform show command
- The command should display the difference between the actual status and the configured status
Plan: 1 to add, 0 to change, 0 to destroy.
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
- You must see the new resource(s) on the Harvester dashboard`
No changes. Your infrastructure matches the configuration.
Apply complete! Resources: 0 added, 0 changed, 0 destroyed.
Destroy complete! Resources: 1 destroyed.