Skip to content

Add google_sql_user list resource#18114

Draft
vr-ibm wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
vr-ibm:sql-user-list
Draft

Add google_sql_user list resource#18114
vr-ibm wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
vr-ibm:sql-user-list

Conversation

@vr-ibm

@vr-ibm vr-ibm commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Fixes hashicorp/terraform-provider-google#28056

Adds a new list resource google_sql_user for Terraform 1.14+ terraform query support. This allows users to list all SQL users for a given Cloud SQL instance.

Details

  • Adds list resource implementation for google_sql_user
  • Adds acceptance test TestAccSqlUserListResource_queryIdentity
  • Adds documentation for the list resource

Release Note Template for Downstream PRs (will be copied)

sql: added `google_sql_user` list resource for `terraform query` support

@modular-magician modular-magician added awaiting-approval Pull requests that need reviewer's approval to run presubmit tests service/sqladmin-infra and removed awaiting-approval Pull requests that need reviewer's approval to run presubmit tests labels Jun 26, 2026
@modular-magician

modular-magician commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 8cb074b:

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 4 files changed, 437 insertions(+), 2 deletions(-)
google-beta provider View Diff 4 files changed, 437 insertions(+), 2 deletions(-)

Test report

Analytics

Total Tests Passed Skipped Affected
159 128 30 1
Affected Service Packages
  • sql

Learn how VCR tests work


Step 1: Replaying Mode

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit.

Click here to see the affected tests
  • TestAccSqlUserListResource_queryIdentity

View the replaying VCR build log


Step 2: Recording Mode

Recording Mode Replaying Rerun Test Name
❌ Error · Log - TestAccSqlUserListResource_queryIdentity

Caution

Issues requiring attention before PR completion

🔴 Initial Recording Failed: Some tests failed during the recording step. See the table above for details.

Please address these issues to complete your PR. If you believe these detections are incorrect or unrelated to your change, please raise the concern with your reviewer.

View the recording VCR build log or the debug logs folder for detailed results.

@vr-ibm VCR tests complete for 8cb074b!

@modular-magician modular-magician added awaiting-approval Pull requests that need reviewer's approval to run presubmit tests and removed awaiting-approval Pull requests that need reviewer's approval to run presubmit tests labels Jun 26, 2026
@modular-magician

modular-magician commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 42f1cde:

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 4 files changed, 438 insertions(+), 2 deletions(-)
google-beta provider View Diff 4 files changed, 438 insertions(+), 2 deletions(-)

Test report

Analytics

Total Tests Passed Skipped Affected
159 128 30 1
Affected Service Packages
  • sql

Learn how VCR tests work


Step 1: Replaying Mode

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit.

Click here to see the affected tests
  • TestAccSqlUserListResource_queryIdentity

View the replaying VCR build log


Step 2: Recording Mode

Recording Mode Replaying Rerun Test Name
✅ Log TestAccSqlUserListResource_queryIdentity

🟢 All tests passed!

View the recording VCR build log or the debug logs folder for detailed results.

@vr-ibm VCR tests complete for 42f1cde!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

list resource: google_sql_user

2 participants