Learn in 20 min terraform state file & terraform Import existing Infrastructure

preview_player
Показать описание
terraform #terraform
Terraform State file #statefile
Terraform Importing existing Infrastructure #import

Terraform State file & Terraform Importing existing Infrastructure
What happens if we delete resource from Terraform state file ? ..
How to bring back infrastructure resources into terraform state file which was created manually by using terraform import command

Terraform keep state file remotely in S3

GitHub terraform code url
Рекомендации по теме
Комментарии
Автор

terraform import very nice, thanks for uploading

sairam-dymy
Автор

i think if we run 'terraform output refresh', it will create state file by importing details from AWS console right.

venkatpathakamuri
Автор

How to import
aws_vpc_endpoint.ec2
Do we have to provide endpoint or instance id?

srinipulavarthi
Автор

Really nice explanation but is there is way to import the resources in bulk or all associated resources.

Cloud-Radio
Автор

Hi, Very Nice explanation.

Can you tell me when we manually delete the vm from AWS or Azure portal which is provisioned through terraform instead of deleting it from the tfstate file then what will happen to the tfstate file.

shakilahamed
Автор

After import existing environment to local how to export to another region

prathibhap