Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBM Cloud Databases BYOK for Backups + SQL Query BYOK instance #1727

Open
movinglightspeed opened this issue Jul 21, 2020 · 0 comments
Open

Comments

@movinglightspeed
Copy link

Hi there,

I am using
terraform -v
Terraform v0.12.26

  • provider.ibm v1.8.1

There is no support for IBM Cloud Databases BYOK for backups and SQL Query instance creations do not have support for BYOK for "standard" plan. These features are available through console.

Additionally, I want to request ibm provider auto-complete support for intellij IDEA terraform plugin. Some providers like aws have autocomplete support for these plugins and enable easy intelligent completion of terraform commands.

Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.

Terraform Version

Run terraform -v to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.

Affected Resource(s)

Please list the resources as a list, for example:

  • ibm_database
  • ibm_resource_instance

Terraform Configuration Files

``
sqlqueryinstance.tf
resource "ibm_resource_instance" "sqlquery_instance" {
name = "sqlqueryinstance"
plan = "standard" #lite is the other plan but standard supports encryption by CSP & BYOK
location = "us-south"
service = "sql-query"
resource_group_id = data.ibm_resource_group.group.id
tags = ["tag1", "tag2"]
}


``
databases.tf
resource "ibm_database" "testdb"  {
  name = "terraformmongodb"
  plan = "standard"
  location = "us-south"
  service = "databases-for-mongodb"
  resource_group_id = data.ibm_resource_group.group.id
  tags = ["tag1", "tag2"]
  adminpassword = "password12"
  members_memory_allocation_mb = 3072
  members_disk_allocation_mb = 61440
  #service_endpoints = "private"
  key_protect_key = "crn:v1:bluemix:public:kms:us-south:a/fullvalue"
  key_protect_instance = "crn:v1:bluemix:public:kms:us-south:a/fullvalue"
  users {
    name = "user123"
    password = "password12"
  }
  whitelist {
    address = "172.168.1.1/32"
    description = "desc"
  }
}

output "ICD_database_connection_string" {
  value = "${"${ibm_database.testdb.connectionstrings.0.composed}"}"
}

Expected Behavior

What should have happened?
For IBM Databases, BYOK for backups should have allowed using Key protect key and instance for backups as well. For SQL Query there should be a setting to allow BYOK for standard plan. For provider auto completion, requesting better integration for HashiCorp Terraform / HCL language support plugins such as for IntelliJ IDEA to allow auto completion.

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform apply
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant