Skip to content

ssl_ca is ignored for bytebase_instance.data_sources #112

@rojspencer-e3

Description

@rojspencer-e3

Configuring the CA certificates for RDS instances does nothing to get them configured. Have to use the web UI to add them.

Example:

resource "bytebase_instance" "my_dev_instance" {
  resource_id        = "my_dev_instance"
  title              = "my_dev_instance"
  environment        = bytebase_environment.dev.id
  engine             = "POSTGRES"
  list_all_databases = true
  data_sources {
    id   = "admin-conn"
    type = "ADMIN"
    host     = "my_dev_instance.dk2lk3430se.us-east-2.rds.amazonaws.com"
    port     = "5432"
    username = "bytebase"
    password = "*******"
    ssl_ca   = file("${var.aws_region}-bundle.pem")
  }
}

Even if I delete the existing connection info in the UI and rerun terraform it will be recreated but without the CA certs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions