Skip to content

Fix rdb read replica import #2291

Closed
@remyleone

Description

@remyleone
terraform {
  required_providers {
    scaleway = {
      source = "scaleway/scaleway"
    }
  }
  required_version = ">= 0.13"
}

# scaleway_rdb_acl
# scaleway_rdb_privilege
# scaleway_rdb_read_replica
# scaleway_rdb_user

import {
  id = "fr-par/d50fd52c-cdbb-4fd6-b066-e04f9ae04e1c"
  to = scaleway_rdb_read_replica.foobar
}
terraform plan -generate-config-out=generated.tf
resource "scaleway_rdb_read_replica" "foobar" {
  instance_id = null # TO FILL (probably a good idea to ask the product team to return it in the response)
  region      = "fr-par"
  same_zone   = true
  direct_access {
  }

# We are missing endpoints information as well.
}

Metadata

Metadata

Assignees

Labels

bugpriority:highestBugs filled by customers, security issuesrdbManaged MySQL and PostgreSQL issues, bugs and feature requests

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions