Skip to content
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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

diegolnasc
Copy link
Contributor

No description provided.

@diegolnasc diegolnasc requested a review from a team as a code owner May 10, 2024 02:21
@apeabody
Copy link
Contributor

/gcbrun

@apeabody
Copy link
Contributor

/gcbrun

Copy link
Contributor

@apeabody apeabody left a 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]
Copy link
Contributor

@apeabody apeabody Sep 13, 2024

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 != {}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants