-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Make resource definition functions public #7324
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
Conversation
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 510 files changed, 1116 insertions(+), 1107 deletions(-)) |
Tests analyticsTotal tests: All tests passed in REPLAYING mode |
rileykarson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two functions snuck through, otherwise LGTM
| "google_folders": DataSourceGoogleFolders(), | ||
| "google_folder_organization_policy": DataSourceGoogleFolderOrganizationPolicy(), | ||
| "google_logging_project_cmek_settings": DataSourceGoogleLoggingProjectCmekSettings(), | ||
| "google_logging_sink": dataSourceGoogleLoggingSink(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: This one seems to have been missed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Thanks.
| "google_spanner_instance": DataSourceSpannerInstance(), | ||
| "google_sql_ca_certs": DataSourceGoogleSQLCaCerts(), | ||
| "google_sql_backup_run": DataSourceSqlBackupRun(), | ||
| "google_sql_databases": dataSourceSqlDatabases(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: This one seems to have been missed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Thanks.
c30ad98 to
640419b
Compare
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 511 files changed, 1120 insertions(+), 1111 deletions(-)) |
Tests analyticsTotal tests: Action takenTriggering VCR tests in RECORDING mode for the tests that failed during VCR. Click here to see the failed testsTestAccFirebaserulesRelease_BasicRelease|TestAccLoggingBucketConfigProject_cmekSettings|TestAccDNSRecordSet_changeRouting|TestAccDNSRecordSet_routingPolicy|TestAccApigeeAddonsConfig_apigeeAddonsTestExample |
|
Tests passed during RECORDING mode: All tests passed |
We are going to create a new package provider and move provider.go to this package.
In provider.go file, the resource definition functions in google package are called. The provider.go file will be moved to a new package provider. The resource definition functions need to be public by capitalizing the function names.
Also, some utility functions called in provider.go file need to be public.
multiEnvSearch
expandProviderBatchingConfig
configureDCLProvider
providerDCLConfigure
If this PR is for Terraform, I acknowledge that I have:
make testandmake lintin the generated providers to ensure it passes unit and linter tests.Release Note Template for Downstream PRs (will be copied)