-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add support for GCS managed folders #10786
Add support for GCS managed folders #10786
Conversation
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @trodge, 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. |
I just noticed that #10670 was also addressing the same issue but it seems inactive for the last few days. |
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: Click here to see the affected service packages
Non-exercised testsTests were added that are skipped in VCR:
Action takenFound 8 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccStorageManagedFolderIamBindingGenerated|TestAccStorageManagedFolderIamBindingGenerated_withCondition|TestAccStorageManagedFolderIamMemberGenerated|TestAccStorageManagedFolderIamMemberGenerated_withCondition|TestAccStorageManagedFolderIamPolicyGenerated|TestAccStorageManagedFolderIamPolicyGenerated_withCondition|TestAccStorageManagedFolder_storageManagedFolderBasicExample|TestAccStorageManagedFolder_storageManagedFolderNestedExample |
|
mmv1/templates/terraform/examples/storage_managed_folder_nested.tf.erb
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.
|
Tests analyticsTotal tests: Click here to see the affected service packages
Non-exercised testsTests were added that are skipped in VCR:
Action takenFound 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccStorageNotification_basic|TestAccStorageNotification_withEventsAndAttributes |
|
This PR has been waiting for review for 2 weekdays. Please take a look! Use the label |
@GoogleCloudPlatform/terraform-team This PR has been waiting for review for 1 week. Please take a look! Use the label |
2 similar comments
@GoogleCloudPlatform/terraform-team This PR has been waiting for review for 1 week. Please take a look! Use the label |
@GoogleCloudPlatform/terraform-team This PR has been waiting for review for 1 week. Please take a look! Use the label |
@GoogleCloudPlatform/terraform-team This PR has been waiting for review for 2 weeks. Please take a look! Use the label |
Hi @trodge, Can you please prioritize this PR review? |
I have a customer who's been waiting for this, what's the blocker with @juliocc changes, which looked like they were ready to go? |
@trodge are there any blockers here? If this implementation is complete it would be great to get it merged; the other PR seems to have stalled out. |
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.
Requested some changes below.
mmv1/templates/terraform/iam/storage_managed_folder_diff_suppress.go.erb
Outdated
Show resolved
Hide resolved
mmv1/templates/terraform/examples/storage_managed_folder_nested.tf.erb
Outdated
Show resolved
Hide resolved
@kautikdk I don't think it needs to be a blocker for this PR but it might be worth adding a flag to this resource to allow deletion of nonempty managed folders, similar to If the priority is getting this resource out we can ship it without that field and add it in a separate PR, since it may introduce some complications. |
Hi @melinath, Got your point. It make sense to add new field to force destroy managed folder even if it is non-empty. The field would be more of like virtual field as we won't be sent field in the INSERT/PATCH methods and won't get it from the response as well. It will be only used in deletion of managed folder. I am not sure how virtual fields are being implemented in MMV1 resources but if It's not possible to add it in the MMV1 resource without modifying 2 or more CRUD methods then we might have to move this resource to the hand-written resources. |
@kautikdk SGTM. We do have support for virtual fields like |
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: 105 Click here to see the affected service packages
Tests were added that are skipped in VCR:
Action takenFound 7 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
mmv1/third_party/terraform/website/docs/r/storage_managed_folder_iam.html.markdown
Outdated
Show resolved
Hide resolved
…er_iam.html.markdown
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: 105 Click here to see the affected service packages
Tests were added that are skipped in VCR:
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 believe this should be good to go.
Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>
Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>
Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>
Co-authored-by: Stephen Lewis (Burrows) <stephen.r.burrows@gmail.com>
This PR adds support for GCS Managed Folders
Related Issue : hashicorp/terraform-provider-google#18053
Release Note Template for Downstream PRs (will be copied)