soniya.rayabagi
Wed Jul 10 2024
Terraform Import :
Syntax:
Example:
#devops #TerraformImport
terraform import
allows you to bring existing resources into Terraform's state management without recreating them.Syntax:
terraform import <RESOURCE_TYPE>.<RESOURCE_NAME> <RESOURCE_ID>
Example:
terraform import aws_s3_bucket.bucket my-existing-bucket
#devops #TerraformImport