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

make user optional in db connection pool, update acc tests #868

Conversation

DMW2151
Copy link
Contributor

@DMW2151 DMW2151 commented Aug 17, 2022

The DO API allows DB pools to be created without a user specified. This PR modifies the digitalocean_database_connection_pool resource and removes user as a required field. Without user specified, pool uses the connection credentials of the inbound user.

Adds new test case for creates w.o specified user, TestAccDigitalOceanDatabaseConnectionPool_InboundUser, and modifies TestAccDigitalOceanDatabaseConnectionPool_Basic to cover pool updates.

Copy link
Member

@andrewsomething andrewsomething left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

@andrewsomething andrewsomething merged commit efab8ae into digitalocean:main Aug 17, 2022
@DMW2151 DMW2151 temporarily deployed to Acceptance Tests August 17, 2022 22:00 Inactive
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 this pull request may close these issues.

None yet

2 participants