Closed kislerdm closed 1 year ago
v1.3.3
v0.1.0
neon_database
locals { neon_branch_id = "br-steep-silence-472824" neon_owner_name = "diagramastext" neon_endpoint = "ep-wild-wind-389577.us-east-2.aws.neon.tech" } resource "neon_project" "this" { name = "diagramastext" } resource "neon_database" "this" { name = "core" project_id = neon_project.this.id branch_id = local.neon_branch_id owner_name = local.neon_owner_name }
Existing database can be imported.
terraform import neon_database.this holy-frost-978054/br-steep-silence-472824/core neon_database.this: Importing from ID "holy-frost-978054/br-steep-silence-472824/core"... ╷ │ Error: [HTTP Code: 409][Error Code: ] database with name core already exists │
terraform import neon_database.this {{.ProjectID}}/{{.BranchID}}/{{.DbName}}
The issue may be caused by the Neon API change --> TBD.
Terraform Version
v1.3.3
Provider Version
v0.1.0
Affected Resource(s)
neon_database
Terraform Configuration Files
Expected Behavior
Existing database can be imported.
Actual Behavior
Steps to Reproduce
terraform import neon_database.this {{.ProjectID}}/{{.BranchID}}/{{.DbName}}
Important Factoids
The issue may be caused by the Neon API change --> TBD.