Terraform 1 · State
Import an existing resource
Bring a resource that already exists under Terraform's management, here an S3 bucket.
terraform import aws_s3_bucket.logs my-log-bucket
Official Terraform 1 documentation
Terraform 1 · State
Bring a resource that already exists under Terraform's management, here an S3 bucket.
terraform import aws_s3_bucket.logs my-log-bucket
Official Terraform 1 documentation
Was this page helpful?