We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I was looking for a way to get a database pool URL from a terraform resource.
I'd want to be able to define:
data "digitalocean_database_pool" "example" { cluster_name = "example-cluster" pool_name = "pool1" }
So I can do:
locals { conn_str = "postgresql://${data.digitalocean_database_pool.example.username}@${data.digitalocean_database_pool.example.host}:${data.digitalocean_database_pool.example.port}/${data.digitalocean_database_pool.example.database}" }
I've added the information from the connection pool hardcoded, but it's "one more thing" that needs to be manually updated.
The text was updated successfully, but these errors were encountered:
digitalocean_database_connection_pool
Hello @andrewsomething , I tried to fix this issue, can you take a look? Thanks
Sorry, something went wrong.
Thanks @T-jegou and @danaelhe!
#1073 fixed my use case 👍
No branches or pull requests
Is your feature request related to a problem? Please describe.
I was looking for a way to get a database pool URL from a terraform resource.
Describe the solution you'd like
I'd want to be able to define:
So I can do:
Describe alternatives you've considered
I've added the information from the connection pool hardcoded, but it's "one more thing" that needs to be manually updated.
The text was updated successfully, but these errors were encountered: