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

scaleway_mongodb_instance instance should support TLS certificate-related attributes #2934

Open
tbarusseau opened this issue Feb 24, 2025 · 0 comments
Assignees

Comments

@tbarusseau
Copy link

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

Right now, the only way to get the TLS certificates of a Terraform-generated scaleway_mongodb_instance is to do it manually through the Scaleway dashboard.

At minimum, we should be able to export its base64 representation using a scaleway_mongodb_instance attribute. This would allow the complete Terraform set up of an auth-protected, managed MongoDB service. Without this additional attribute, right now it doesn't seem to be possible?

New or Affected Resource(s)

  • scaleway_mongodb_instance

Potential Terraform Configuration

resource "scaleway_mongodb_instance" "main" {
  name        = "mcv-api-staging"
  version     = "7.0.12"
  node_type   = "MGDB-PLAY2-NANO"
  node_number = 1
  user_name   = "admin"
  password    = random_password.document_store_password.result
  volume_size_in_gb = 5
}

# In outputs.tf:
output "document_store_tls_certificate_b64" {
  value = scaleway_mongodb_instance.main.tls_certificate_b64
}

References

  • ?
@jremy42 jremy42 self-assigned this Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants