Skip to content

feat: support new output-only field dns_names for Cloud SQL instances#13542

Merged
zli82016 merged 1 commit intoGoogleCloudPlatform:mainfrom
wuchris-g:show-dns-names
Apr 24, 2025
Merged

feat: support new output-only field dns_names for Cloud SQL instances#13542
zli82016 merged 1 commit intoGoogleCloudPlatform:mainfrom
wuchris-g:show-dns-names

Conversation

@wuchris-g
Copy link
Copy Markdown
Contributor

@wuchris-g wuchris-g commented Apr 3, 2025

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

sql: added output-only field `dns_names` to `google_sql_database_instance` resource

@github-actions github-actions bot requested a review from zli82016 April 3, 2025 22:05
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2025

Hello! I am a robot. Tests will require approval from a repository maintainer to run. Googlers: see go/terraform-auto-test-runs to set up automatic test runs.

@zli82016, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Apr 3, 2025
@wuchris-g
Copy link
Copy Markdown
Contributor Author

terraform show displays the new field:

dns_name                       = "3661cef6ee3b.3byu56ye5ycsb.us-central1.sql.goog."
dns_names                      = [
        {
            connection_type = "PUBLIC"
            dns_scope       = "INSTANCE"
            name            = "3661cef6ee3b.3byu56ye5ycsb.us-central1.sql.goog."
        },
]
...

@modular-magician modular-magician added service/sqladmin-cp and removed awaiting-approval Pull requests that need reviewer's approval to run presubmit tests labels Apr 4, 2025
@modular-magician
Copy link
Copy Markdown
Collaborator

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

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 4 files changed, 46 insertions(+))
google-beta provider: Diff ( 4 files changed, 46 insertions(+))

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 107
Passed tests: 85
Skipped tests: 21
Affected tests: 1

Click here to see the affected service packages
  • sql

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
  • TestAccSqlDatabaseInstance_useCasBasedServerCa

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccSqlDatabaseInstance_useCasBasedServerCa [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

Copy link
Copy Markdown
Member

@zli82016 zli82016 left a comment

Choose a reason for hiding this comment

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

Also, the test failed. Is this new field supported now?

Comment thread mmv1/third_party/terraform/website/docs/r/sql_database_instance.html.markdown Outdated
@github-actions github-actions bot requested a review from zli82016 April 7, 2025 20:58
@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Apr 7, 2025
@github-actions github-actions bot requested a review from zli82016 April 7, 2025 23:38
@modular-magician modular-magician removed the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Apr 8, 2025
@modular-magician
Copy link
Copy Markdown
Collaborator

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

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 4 files changed, 55 insertions(+), 1 deletion(-))
google-beta provider: Diff ( 4 files changed, 55 insertions(+), 1 deletion(-))

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 107
Passed tests: 85
Skipped tests: 21
Affected tests: 1

Click here to see the affected service packages
  • sql

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
  • TestAccSqlDatabaseInstance_useCasBasedServerCa

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccSqlDatabaseInstance_useCasBasedServerCa [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@zli82016
Copy link
Copy Markdown
Member

zli82016 commented Apr 8, 2025

The new field is not in GA yet. I am going to run the test again on April 16 to check if the test passes or not.

@github-actions
Copy link
Copy Markdown

@zli82016 This PR has been waiting for review for 3 weekdays. Please take a look! Use the label disable-review-reminders to disable these notifications.

@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 Apr 21, 2025
@modular-magician
Copy link
Copy Markdown
Collaborator

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

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 4 files changed, 55 insertions(+), 1 deletion(-))
google-beta provider: Diff ( 4 files changed, 55 insertions(+), 1 deletion(-))

@modular-magician
Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 111
Passed tests: 89
Skipped tests: 21
Affected tests: 1

Click here to see the affected service packages
  • sql

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
  • TestAccSqlDatabaseInstance_useCasBasedServerCa

Get to know how VCR tests work

@modular-magician
Copy link
Copy Markdown
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccSqlDatabaseInstance_useCasBasedServerCa [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@zli82016
Copy link
Copy Markdown
Member

/gcbrun

@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Apr 23, 2025
@zli82016
Copy link
Copy Markdown
Member

zli82016 commented Apr 23, 2025

Copy link
Copy Markdown
Member

@zli82016 zli82016 left a comment

Choose a reason for hiding this comment

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

The ramping up to GA is finished.

@zli82016 zli82016 added this pull request to the merge queue Apr 24, 2025
Merged via the queue into GoogleCloudPlatform:main with commit 325ae13 Apr 24, 2025
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-approval Pull requests that need reviewer's approval to run presubmit tests disable-review-reminders service/sqladmin-cp

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants