-
Notifications
You must be signed in to change notification settings - Fork 538
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
feat: vpc user to run/functions + soft deletion policy #909
base: master
Are you sure you want to change the base?
feat: vpc user to run/functions + soft deletion policy #909
Conversation
/gcbrun |
/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.
Thanks for the contribution @diegolnasc!
Looks like we just need test coverage. Can you please add soft_delete_policy
to one of the /examples, and then as appropriate extend it's integration test in test/integration
@@ -310,6 +310,13 @@ resource "google_storage_bucket" "project_bucket" { | |||
uniform_bucket_level_access = var.bucket_ula | |||
public_access_prevention = var.bucket_pap | |||
|
|||
dynamic "soft_delete_policy" { | |||
for_each = var.soft_delete_policy == {} ? [] : [var.soft_delete_policy] |
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.
Suggestion only: might be clearer to have the "enabled" outcome first, by checking != {}
No description provided.