🔥என்னது Terraform Code எழுதாமலே 👌 TF Import Command Use பண்ணலாமா?

Опубликовано: 01 Январь 1970
на канале: Tamil Cloud
531
13

How to generate Terraform code and import to state file -- Pre request = Terraform 1.5 version

1) Create an import tf file with the resource ID with hashicafe extension
2) For import use the below terraform plan command
terraform plan -generate-config-out=generated.tf
3) Any error or conflict attributes should be removed from generated code
4) Terraform apply via Create the state file with our imported resources info success