Skip to content

Error in modifying aws_db_instance identifier #2

@yujunz

Description

@yujunz

Update db instance identity

@@ -69,7 +69,6 @@ data: aws.#DataSources & sops.#DataSources & {
 resource: aws.#Resources & postgresql.#Resources & {
 	aws_db_instance: {
 		"\(#Name)": {
+			identifier:              #Name
 			allocated_storage:       10
 			engine:                  "postgres"
 			engine_version:          "13.4"

Errors on apply

╷
│ Error: error detecting capabilities: error PostgreSQL version: dial tcp [::1]:0: connect: can't assign requested address
│
│   with postgresql_role.app
│   on main.tf.json line 113, in resource.postgresql_role.app:
│  113:             }
│
╵

Should we expect terraform to detect the change instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions