-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
fixed labels for array value #5275
fixed labels for array value #5275
Conversation
Hello! I am a robot who works on Magic Modules PRs. I have detected that you are a community contributor, so your PR will be assigned to someone with a commit-bit on this repo for initial review. Thanks for your contribution! A human will be with you soon. @ScottSuarez, please review this PR or find an appropriate assignee. |
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 2 files changed, 30 insertions(+), 6 deletions(-)) |
I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccDatasourceGoogleServiceNetworkingPeeredDnsDomain_basic|TestAccBillingBudget_billingBudgetCurrencycode You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=209115 |
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 2 files changed, 29 insertions(+), 5 deletions(-)) |
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 2 files changed, 29 insertions(+), 5 deletions(-)) |
I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccDatasourceGoogleServiceNetworkingPeeredDnsDomain_basic|TestAccBillingBudget_billingBudgetCurrencycode You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=209144 |
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 2 files changed, 29 insertions(+), 5 deletions(-)) |
I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccDatasourceGoogleServiceNetworkingPeeredDnsDomain_basic|TestAccServiceNetworkingPeeredDNSDomain_basic You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=209152 |
Sort of confused on what is going on here, could you explain the current behavior? Aren't labels always returned as objects? |
I don't understand why the current implementation doesn't work? |
This is a special case. You may see the difference about what this api takes @ScottSuarez
|
Leaving review to @ScottSuarez - feel free to assign me if Scott needs to hand off or after Scott's approved if you want addtl review, I don't like to have two reviewers acting at once. |
asking Riley to take over here. I'll stay on the ticket to observe comments. Even with context provided this is fairly confusing behavior on the api's behalf. |
@@ -0,0 +1,10 @@ | |||
func expand<%= prefix -%><%= titlelize_property(property) -%>(v interface{}, d TerraformResourceData, config *Config) (map[string][]string, error) { | |||
if v == nil { | |||
return map[string][]string{}, nil |
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.
What an unusual type for the API to expect, especially given it's restricted anyways. From the API docs: Currently, multiple entries or multiple values per entry are not allowed.
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 swear the approve button just moved on me...
Fixes hashicorp/terraform-provider-google#10201
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)