2 Answers
- Newest
- Most votes
- Most comments
0
Hello.
When you want to manage existing AWS resources like an RDS instance with Terraform, the terraform import command is indeed the way to go.https://developer.hashicorp.com/terraform/cli/import
Regards, Andrii
0
- Firstly you need to build your Terraform code to match the configuration of the RDS instances.
- Secondly, you would then need to import each RDS into your Terraform state using the import command.
- Thirdly, you should run a terrform plan to align and see any differences between the State and the .tf files.
Using the Plan ensures that when you run an apply you will not see any unexpected changes such as a destroy.
Relevant content
- asked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 4 months ago