...
Using Existing Services with Terraform
Expand | ||
---|---|---|
| ||
To avoid recreating existing resources, comment out the corresponding resource block in the Terraform configuration. Example:
|
Expand | ||
---|---|---|
| ||
Import existing resources into the Terraform state:
|
Expand | ||
---|---|---|
| ||
Define outputs in
|
Summary
Comment existing resource blocks in Terraform.
Use
terraform import
to manage existing resources.Define outputs for sharing resource details.
...