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

logging_project_bucket_config: support "no preference" for enable_analytics setting. #19126

Conversation

modular-magician
Copy link
Collaborator

Addresses #19099

Before this change, omitting the enable_analytics option was interpreted as a desire to specifically disable analytics during logging bucket creation. This updates the behavior to omit the field in the creation if the user didn't specify it, better reflecting user intent.

For existing and new templates, this has no practical effect -- omitting the field will still create a bucket without analytics, but this provides more context in the creation request to the Logging API.

Also fixed typos in an existing log statement.

logging: changed enable_analytics parsing to "no preference" in analytics if omitted, instead of explicitly disabling analytics.

Derived from GoogleCloudPlatform/magic-modules#11430

…lytics setting. (hashicorp#11430)

[upstream:90589fba9e124d25ece290f144942815c267daf5]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit 11092fa into hashicorp:main Aug 14, 2024
4 checks passed
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 17, 2024
@modular-magician modular-magician deleted the downstream-pr-90589fba9e124d25ece290f144942815c267daf5 branch November 17, 2024 00:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant