Skip to content

fix(chronicle): fix permadiff on chronicle_feed sensitive auth fields - #18662

Open
vr-ibm wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
vr-ibm:fix-chronicle-feed-permadiff
Open

fix(chronicle): fix permadiff on chronicle_feed sensitive auth fields#18662
vr-ibm wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
vr-ibm:fix-chronicle-feed-permadiff

Conversation

@vr-ibm

@vr-ibm vr-ibm commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

hashicorp/terraform-provider-google#28314

Adds ignore_read: true to all sensitive authentication fields in Feed.yaml to prevent perpetual diffs when the Chronicle API omits write-only credentials on read.

Details

  • Adds ignore_read: true to 77 sensitive authentication fields across all google_chronicle_feed settings blocks
  • Fixes perpetual diff where Chronicle API never echoes back secrets, passwords, private keys, and access keys after create/update
  • Affected settings blocks include azure_ad_audit_settings, amazon_sqs_v2_settings, sftp_settings, azure_blob_store_v2_settings, and many more

Release Note Template for Downstream PRs (will be copied)

chronicle: fixed permadiff on `google_chronicle_feed` sensitive authentication fields where Chronicle API omits write-only credentials on read

Add ignore_read: true to all sensitive authentication fields in
Feed.yaml to prevent perpetual diffs when the Chronicle API omits
write-only credentials on read.

The Chronicle API never echoes back secrets, passwords, private keys,
and access keys after create/update. Without ignore_read, the generated
flatten functions return nil for these fields, causing Terraform to
see a diff on every plan even when no changes were made.

Fixes: hashicorp/terraform-provider-google#28314
@modular-magician modular-magician added awaiting-approval Pull requests that need reviewer's approval to run presubmit tests service/chronicle and removed awaiting-approval Pull requests that need reviewer's approval to run presubmit tests labels Aug 15, 2026
@modular-magician

modular-magician commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes for commit 8a07fe4:

Diff report

Your PR generated the following diffs in downstream repositories:

Repository Diff Link Changes
google provider View Diff 2 files changed, 92 insertions(+), 107 deletions(-)
google-beta provider View Diff 2 files changed, 92 insertions(+), 107 deletions(-)

Test report

Analytics

Total Tests Passed Skipped Affected
58 57 1 0
Affected Service Packages
  • chronicle

Learn how VCR tests work


Step 1: Replaying Mode

🟢 All tests passed in Replaying mode! No Recording was needed.

View the replaying VCR build log

@vr-ibm, @ankitgoyal0301 VCR tests complete for 8a07fe4!

@vr-ibm
vr-ibm marked this pull request as ready for review August 15, 2026 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants