Why not login to Qiita and try out its useful features?

We'll deliver articles that match you.

You can read useful information later.

0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

AWS RDS - DBクラスタ / インスタンスをTerraform管理下から外す -> import するコマンド例

Posted at

DBクラスタ

Terraform管理下から外す

terraform state list
terraform state rm aws_rds_cluster.default

既存のDBクラスタを import して Terraform 管理下に置く

terraform import aws_rds_cluster.default <DBクラスタ識別子>

DBインスタンス

Terraform管理下から外す

terraform state list
terraform state rm aws_rds_cluster_instance.default

既存のDBインスタンスを import して Terraform 管理下に置く

 terraform import aws_rds_cluster_instance.default <DBインスタンス識別子>
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?