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

Can't retrieve scylla_version from deployed scylladbcloud_cluster resource #183

Open
mikliapko opened this issue Jan 15, 2025 · 0 comments

Comments

@mikliapko
Copy link

mikliapko commented Jan 15, 2025

Steps:

  1. Running terraform apply for the next configuration:
...

# Bootstrapping Scylla Cloud cluster
resource "scylladbcloud_cluster" "scylladbcloud" {
    name       = var.cluster_name
    cloud      = var.cloud_provider
    region     = var.cluster_region
    node_count = var.node_count
    node_type  = var.node_type

    enable_vpc_peering = var.is_vpc_enabled
    cidr_block = var.cidr_block
    enable_dns = true
}

...

output "scylladbcloud_cluster_id" {
    value = scylladbcloud_cluster.scylladbcloud.id
}


output "scylladbcloud_scylla_version" {
    value = scylladbcloud_cluster.scylladbcloud.scylla_version
}
  1. Results in
...

# scylladbcloud_cluster.scylladbcloud will be created
+ resource "scylladbcloud_cluster" "scylladbcloud" {
    + alternator_write_isolation = "only_rmw_uses_lwt"
    + cidr_block                 = "172.29.32.0/21"
    + cloud                      = "AWS"
    + cluster_id                 = (known after apply)
    + datacenter                 = (known after apply)
    + enable_dns                 = true
    + enable_vpc_peering         = true
    + id                         = (known after apply)
    + name                       = "aws_t_ctr_vpc"
    + node_count                 = 3
    + node_disk_size             = (known after apply)
    + node_dns_names             = (known after apply)
    + node_private_ips           = (known after apply)
    + node_type                  = "i4i.large"
    + region                     = "us-east-1"
    + request_id                 = (known after apply)
    + scylla_version             = (known after apply)
    + status                     = (known after apply)
    + user_api_interface         = "CQL"
}

...

Changes to Outputs:

+ scylladbcloud_cluster_id     = (known after apply)
+ scylladbcloud_scylla_version = (known after apply)

scylladbcloud_cluster.scylladbcloud: Creating...
...
...
scylladbcloud_cluster.scylladbcloud: Creation complete after 7m15s [id=8072]
...
...
Apply complete! Resources: 5 added, 0 changed, 0 destroyed.

Outputs:
scylladbcloud_cluster_id = "8072"
scylladbcloud_scylla_version = ""
  1. Provider returns empty string for scylladbcloud_scylla_version
Outputs:
...
scylladbcloud_scylla_version = ""

Environment:
Terraform provider version - 1.8.1
https://registry.terraform.io/providers/scylladb/scylladbcloud/1.8.1
Jenkins job step

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