rm -rf terraform.tfstate → s3에 저장 후 로컬에서 지워도 됨
A requirement has come up which requires you to inspect the state file of terraform configuration. Your terraform script is already configured to work with the remote backend. Which of the following commands would you use to view a specific field in the state file
$ terraform state pull
Which option can be used to disable the state locking for most commands?
-lock
What are the steps required to remove a resource from the management of terraform?
Use the terraform state rm command followed by manual removal of corresponding resources from the configuration file as well
'[Terraform]' 카테고리의 다른 글
6. Terraform (0) | 2024.04.19 |
---|---|
5. Terraform CLI (0) | 2024.04.19 |
3. Variable, Resource Attributes, Dependencies (0) | 2024.04.19 |
2. Terraform Providers Basics (0) | 2024.04.19 |
1. Understanding IaC (0) | 2024.04.19 |