cycloidio / terracognita

Reads from existing public and private cloud providers (reverse Terraform) and generates your infrastructure as code on Terraform configuration
MIT License
2.17k stars 163 forks source link

`aws_db_subnet_group`: "Default" is not allowed as "name" #376

Closed xescugc closed 1 year ago

xescugc commented 1 year ago

General information:

Describe the bug:

When importing some aws_db_subnet_group we may get

╷
│ Error: "Default" is not allowed as "name"
│ 
│   with module.tf.aws_db_subnet_group.default,
│   on module-tf/rds_relational_database.tf line 98, in resource "aws_db_subnet_group" "default":
│   98:   name        = aws_vpc.cycloid_test.instance_tenancy
│ 
╵

Those are the resources managed by AWS so we should ignore them and not import/write them.

Log message

Here you can paste the log message or paste the link to console logs. If the log message is too big, you can use a tool like https://pastebin.com/.

Additional context

Add any other context about the problem here.