-
Notifications
You must be signed in to change notification settings - Fork 132
chore: Migrate simple_cloud_run kitchen -> cft #404
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
base: main
Are you sure you want to change the base?
chore: Migrate simple_cloud_run kitchen -> cft #404
Conversation
deletion_policy = "DELETE" | ||
name = "ci-cloud-run" | ||
random_project_id = "true" | ||
random_project_id_length = 8 |
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.
This is here to help with an "already exists" error I ran into while testing. Without this setting, we were using 16 bits for a "unique" name. After this setting, it will be 41 bits.
I did some calculations and if 50 projects are currently in use, there is a (roughly) 4% chance that there will be a naming clash among them. This gets reduced to a 1 in 10^10 chance with 41 bits.
I don't know whether the "already exists" error I saw was due to a collision, but using a longer project ID length will at least rule out this as a possible issue.
@@ -0,0 +1,48 @@ | |||
// Copyright 2025 Google LLC |
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.
This file was just copied from the simple_cloud_run_with_cmek test and lightly edited.
This is to unblock #402, which will be changing test setup to be multi-project. The kitchen framework does not understand how to deal with a multi-project test setup, so it has to be removed.