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

Redis data source does not send all informations about the cluster #2760

Open
SebUndefined opened this issue Oct 3, 2024 · 1 comment
Open
Assignees
Labels
enhancement redis Managed Redis issues, bugs and feature requests

Comments

@SebUndefined
Copy link

SebUndefined commented Oct 3, 2024

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

When trying to fetch cluster info (Redis), the provider does not send all relevant information about it. Especially on the private network section. Example of output

data "scaleway_redis_cluster" "main_redis_instance" {
  cluster_id = var.main_redis_cluster_id
}

output "redis_instance_debug" {
  value = data.scaleway_redis_cluster.main_redis_instance
}
redis_instance_debug = {
      + acl             = []
      + certificate     = <<-EOT
            -----BEGIN CERTIFICATE-----
            HIDDEN
            -----END CERTIFICATE-----
        EOT
      + cluster_id      = "fr-par-1/THE_ID"
      + cluster_size    = 3
      + created_at      = "2024-09-15T06:35:33Z"
      + id              = "fr-par-1/THE_ID"
      + name            = "THE_NAME"
      + node_type       = "RED1-2XS"
      + password        = ""
      + private_network = [
          + {
              + endpoint_id = "ENDPOINT_ID"
              + id          = "fr-par/ID"
              + service_ips = [
                  + "IP_ONE/20",
                  + "IP_TWO/20",
                  + "IP_THREE/20",
                ]
              + zone        = "fr-par-1"
            },
        ]
      + project_id      = "PROJECT_ID"
      + public_network  = []
      + settings        = {}
      + tags            = [
        ]
      + tls_enabled     = null
      + updated_at      = "2024-09-15T06:38:19Z"
      + user_name       = ""
      + version         = "7.0.5"
      + zone            = "fr-par-1"
    }

From my point of view, the port and the raw IP (without netmask) are missing. The strange things is that the API or CLI return all information about the cluster private network.

New or Affected Resource(s)

  • scaleway_redis_cluster

Potential Terraform Configuration

terraform {
  cloud {
    organization = "ORG"
    workspaces {
      name = "application"
    }
  }
  required_providers {
    scaleway = {
      source = "scaleway/scaleway"
      version = "2.46.0"
    }
...

  }
  required_version = ">= 0.13"
}
@SebUndefined
Copy link
Author

Will this be fixed by #2759 ? If yes, could you please tell me when it will be available ?

@jremy42 jremy42 self-assigned this Oct 3, 2024
@jremy42 jremy42 added the redis Managed Redis issues, bugs and feature requests label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement redis Managed Redis issues, bugs and feature requests
Projects
None yet
Development

No branches or pull requests

2 participants