-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Storage Insights Datasets terraform support #14564
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
Storage Insights Datasets terraform support #14564
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.
Missing doc report (experimental)The following data sources are missing documents:
|
Tests analyticsTotal tests: 10 Click here to see the affected service packages
Found 7 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
🟢 Tests passed during RECORDING mode: 🟢 No issues found for passed tests after REPLAYING rerun. 🟢 All tests passed! |
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.
Missing doc report (experimental)The following data sources are missing documents:
|
Tests analyticsTotal tests: 10 Click here to see the affected service packages
View the build log |
Hello! I am a robot. Tests will require approval from a repository maintainer to run. Googlers: For automatic test runs see go/terraform-auto-test-runs. @shuyama1, 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. |
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.
Missing doc report (experimental)The following data sources are missing documents:
|
Tests analyticsTotal tests: 10 Click here to see the affected service packages
View the build log |
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.
Could you please add the corresponding documentation for the data source? Thanks! https://googlecloudplatform.github.io/magic-modules/develop/add-handwritten-datasource/#add-documentation
Done, thank you |
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.
|
Tests analyticsTotal tests: 10 Click here to see the affected service packages
View the build log |
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.
I would recommend creating a GitHub issue in the Public Issue tracker here: https://github.com/hashicorp/terraform-provider-google/issues for the reference so that someone else won't start working on the same resource as long as it is assigned to you.
Another suggestion would be to follow the update test guidelines mentioned here: https://googlecloudplatform.github.io/magic-modules/test/test/#add-an-update-test
mmv1/templates/terraform/post_create/storage_insights_dataset_config.go.tmpl
Outdated
Show resolved
Hide resolved
mmv1/templates/terraform/pre_update/storage_insights_dataset_config.go.tmpl
Outdated
Show resolved
Hide resolved
...rd_party/terraform/services/storageinsights/resource_storage_insights_dataset_config_test.go
Outdated
Show resolved
Hide resolved
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.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_storage_insights_dataset_config" "primary" {
organization_number = # value needed
}
|
Tests analyticsTotal tests: 10 Click here to see the affected service packages
Found 7 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
🟢 Tests passed during RECORDING mode: 🟢 No issues found for passed tests after REPLAYING rerun. 🟢 All tests passed! |
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.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_storage_insights_dataset_config" "primary" {
organization_number = # value needed
}
|
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.
Overall looks good to me!
Will approve once we get clarity on the project field from the offline discussion.
mmv1/templates/terraform/pre_update/storage_insights_dataset_config.go.tmpl
Outdated
Show resolved
Hide resolved
...rd_party/terraform/services/storageinsights/resource_storage_insights_dataset_config_test.go
Outdated
Show resolved
Hide resolved
...rd_party/terraform/services/storageinsights/resource_storage_insights_dataset_config_test.go
Outdated
Show resolved
Hide resolved
Hi @shuyama1, can you please start review as the feature is planned for release in the next week if possible? |
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.
|
Tests analyticsTotal tests: 7 Click here to see the affected service packages
View the build log |
/gcbrun |
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.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_storage_insights_dataset_config" "primary" {
description = # value needed
exclude_cloud_storage_buckets {
cloud_storage_buckets {
bucket_name = # value needed
bucket_prefix_regex = # value needed
}
}
exclude_cloud_storage_locations {
locations = # value needed
}
include_cloud_storage_buckets {
cloud_storage_buckets {
bucket_name = # value needed
bucket_prefix_regex = # value needed
}
}
include_cloud_storage_locations {
locations = # value needed
}
include_newly_created_buckets = # value needed
link_dataset = # value needed
organization_number = # value needed
}
|
Non-exercised tests🔴 Tests were added that are skipped in VCR:
Tests analyticsTotal tests: 0 Click here to see the affected service packages
View the build log |
...rd_party/terraform/services/storageinsights/resource_storage_insights_dataset_config_test.go
Outdated
Show resolved
Hide resolved
...rd_party/terraform/services/storageinsights/resource_storage_insights_dataset_config_test.go
Outdated
Show resolved
Hide resolved
...hird_party/terraform/services/storageinsights/data_source_storage_insights_dataset_config.go
Outdated
Show resolved
Hide resolved
...rd_party/terraform/services/storageinsights/resource_storage_insights_dataset_config_test.go
Outdated
Show resolved
Hide resolved
...rd_party/terraform/services/storageinsights/resource_storage_insights_dataset_config_test.go
Outdated
Show resolved
Hide resolved
...rd_party/terraform/services/storageinsights/resource_storage_insights_dataset_config_test.go
Outdated
Show resolved
Hide resolved
...rd_party/terraform/services/storageinsights/resource_storage_insights_dataset_config_test.go
Outdated
Show resolved
Hide resolved
mmv1/templates/terraform/post_create/storage_insights_dataset_config.go.tmpl
Outdated
Show resolved
Hide resolved
…anged documentations
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.
|
Tests analyticsTotal tests: 8 Click here to see the affected service packages
Found 5 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
🟢 Tests passed during RECORDING mode: 🟢 No issues found for passed tests after REPLAYING rerun. 🟢 All tests passed! |
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.
|
Tests analyticsTotal tests: 8 Click here to see the affected service packages
View the build log |
/gcbrun |
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.
LGTM as all the comments have been addressed and project field concern is now resolved.
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.
Thank you!
2f55f02
Adding terraform support for Storage Insights Datasets.