Skip to content

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

Merged
andrewsomething merged 1 commit intodigitalocean:mainfrom
DMW2151:dmw2151/conn-pool-make-user-optional
Aug 17, 2022
Merged

make user optional in db connection pool, update acc tests#868
andrewsomething merged 1 commit intodigitalocean:mainfrom
DMW2151:dmw2151/conn-pool-make-user-optional

Conversation

@DMW2151
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants