Skip to content

Fix google_ces_guardrail persistent diff for llm_prompt_security#1341

Merged
modular-magician merged 1 commit into
terraform-google-modules:masterfrom
modular-magician:downstream-pr-382f767609f031134a3ea07b74abaea6392833ad
Jun 9, 2026
Merged

Fix google_ces_guardrail persistent diff for llm_prompt_security#1341
modular-magician merged 1 commit into
terraform-google-modules:masterfrom
modular-magician:downstream-pr-382f767609f031134a3ea07b74abaea6392833ad

Conversation

@modular-magician

Copy link
Copy Markdown
Collaborator

Add send_empty_value: true and allow_empty_object: true to defaultSettings property in Guardrail.yaml config to force sending the empty block to the API.

Without send_empty_value, terraform plan won't detect the empty value and keep trying to apply empty value to guardrail even if there's no change

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

ces: fixed persistent diff in `google_ces_guardrail` when `llm_prompt_security` is configured with `default_settings`

Derived from GoogleCloudPlatform/magic-modules#17780

…780)

[upstream:382f767609f031134a3ea07b74abaea6392833ad]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit a7c872b into terraform-google-modules:master Jun 9, 2026
3 checks passed
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 this pull request may close these issues.

1 participant