-
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
Properly encode paths for google_storage_object_access_control #4946
Conversation
This gives a failing test that reproduces the issue
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 3 files changed, 7 insertions(+), 7 deletions(-)) |
mmv1/third_party/terraform/tests/resource_storage_object_acl_test.go
Outdated
Show resolved
Hide resolved
@@ -72,7 +72,7 @@ overrides: !ruby/object:Overrides::ResourceOverrides | |||
bucket_name: "static-content-bucket" | |||
object_name: "public-object" | |||
id_format: "{{bucket}}/{{object}}/{{entity}}" |
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.
thinking out loud: id
is only read during import, and we actually read import_format
there instead. We don't need to annotate this line b/c we never need to recreate the id
based on the template.
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 was also concerned that changing this line might be backwards-incompatible? but I'm not sure if that's true.
I don't remember what was generating weirdly, import formats probably? It's, uh, been a while haha. |
okay, well, if it looks fine to you now I guess we're probably fine 😂 |
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 3 files changed, 46 insertions(+), 7 deletions(-)) |
I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccComputeInstance_updateRunning_desiredStatusNotSet_notAllowStoppingForUpdate|TestAccComputeInstance_updateRunning_desiredStatusRunning_notAllowStoppingForUpdate|TestAccContainerNodePool_withGPU|TestAccStorageObjectAccessControl_update|TestAccStorageObjectAcl_basic|TestAccStorageObjectAcl_downgrade|TestAccStorageObjectAcl_predefinedToExplicit|TestAccStorageObjectAcl_upgrade|TestAccStorageObjectAcl_predefined|TestAccStorageObjectAcl_explicitToPredefined|TestAccStorageObjectAcl_unordered You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=194844 |
Tests failed during RECORDING mode: TestAccContainerNodePool_withGPU Please fix these to complete your PR |
I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccContainerNodePool_withGPU|TestAccStorageObjectAccessControl_updateWithSlashes You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=194847 |
Tests failed during RECORDING mode: TestAccContainerNodePool_withGPU Please fix these to complete your PR |
TestAccContainerNodePool_withGPU failure is unrelated. |
Resolved hashicorp/terraform-provider-google#9457
It looks like this ended up basically identical to #1759. @rileykarson long shot but do you happen to remember what issues you ran into with that solution?
If this PR is for Terraform, I acknowledge that I have:
make test
andmake lint
to ensure it passes unit and linter tests.Release Note Template for Downstream PRs (will be copied)