How to change DocumentDB default subnet group VPC (after deleting and re-creating the default VPC)?

0

I deleted and re-created the default VPC, but DocumentDB default subnet group still points to the deleted VPC ID:
https://eu-west-1.console.aws.amazon.com/docdb/home?region=eu-west-1#subnetGroup-details/default

How do I fix it?

질문됨 일 년 전601회 조회
2개 답변
0

you wont be able to delete a VPC due to existing network interfaces for the cluster instance.

AWS
답변함 일 년 전
  • Trust me, the default VPC was destroyed.

    resource "aws_default_vpc" "default" {
      force_destroy = true
    }
0

Once a DocumentDB cluster is created, the VPC cannot be changed. You'll have to restore from a snapshot to a new cluster, using the new default VPC.

AWS
Mihai A
답변함 일 년 전
  • Problem is that the old "default" vpc hangs in here: Enter image description here The vpc-06...69 does not exist anymore, but because it is "default" I cannot delete it.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠