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

TERRA-48 ⁃ Keyspace names should be case sensitive #67

Closed
emerkle826 opened this issue Dec 23, 2021 · 0 comments · Fixed by #68
Closed

TERRA-48 ⁃ Keyspace names should be case sensitive #67

emerkle826 opened this issue Dec 23, 2021 · 0 comments · Fixed by #68
Assignees

Comments

@emerkle826
Copy link
Contributor

emerkle826 commented Dec 23, 2021

Hi there,

Please provide the following details with your issue report.

Terraform Version

Terraform v1.1.2
on linux_amd64

Affected Resource(s)

astra_keyspace

Terraform Configuration Files

terraform {
  required_providers {
    astra = {
      source  = "datastax/astra"
      version = "2.0.1"
    }
  }
}

resource "astra_database" "db" {
  name           = "Database1"
  keyspace       = "Keyspace1"
  cloud_provider = "aws"
  regions        = ["eu-central-1"]
}

resource "astra_keyspace" "ks2" {
  name        = "Keyspace2"
  database_id = resource.astra_database.db.id
}

output "dbid" { value = astra_database.db.id }

Debug Output

N/A

Panic Output

N/A

Expected Behavior

After a terraform plan and terraform apply the Database and second Keyspace should be created. If a terraform plan is executed again, the only change should be that the second keyspace needs to be added to the database resource's additional keyspace array, and it should indicate that only a terraform apply -refresh-only needs to be executed.

Actual Behavior

In the second terraform plan, terraform indicates that the second keyspace (Keyspace2 in this example) needs to be added to the database resources' additional keyspaces, and also that the second keyspace needs to be deleted and re-added.

Steps to Reproduce

  1. terraform plan
  2. terraform apply
  3. terraform plan

Important Factoids

N/A

References

N/A

┆Issue is synchronized with this Jira Task by Unito
┆friendlyId: TERRA-48
┆priority: Major

@emerkle826 emerkle826 self-assigned this Dec 23, 2021
@sync-by-unito sync-by-unito bot changed the title Keyspace names should be case sensitive TERRA-48 ⁃ Keyspace names should be case sensitive Dec 23, 2021
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

Successfully merging a pull request may close this issue.

1 participant