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

Provided options do not match the sink's destination service #990

Closed
ghost opened this issue Nov 17, 2022 · 0 comments · Fixed by #1005
Closed

Provided options do not match the sink's destination service #990

ghost opened this issue Nov 17, 2022 · 0 comments · Fixed by #1005
Assignees

Comments

@ghost
Copy link

ghost commented Nov 17, 2022

Module: google_logging_organization_sink
Error: "googleapi: Error 400: Provided options do not match the sink's destination service, badRequest"
How to reproduce: bq_partitioned_table = false && type="logging" or "storage"

Fix:
/modules/organization/logging.tf
Line 40 from:
for_each = each.value.bq_partitioned_table != null ? [""] : []
to:
for_each = each.value.bq_partitioned_table != false ? [""] : []
/modules/organization/variables.tf

Line 132 from:
bq_partitioned_table = optional(bool)
to:
bq_partitioned_table = optional(bool,false)

@juliocc juliocc self-assigned this Nov 21, 2022
@juliocc juliocc linked a pull request Nov 22, 2022 that will close this issue
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 a pull request may close this issue.

1 participant