Fix CUR 2.0: BILLING_VIEW_ARN + BCM read permissions#117
Merged
Conversation
AWS returns BILLING_VIEW_ARN in the CreateExport response even when not set, causing "inconsistent result after apply". Declaring it as empty string prevents the drift. Ref: github.com/hashicorp/terraform-provider-aws/issues/42761
- Set BILLING_VIEW_ARN to match AWS response value (provider bug #42761) - Add bcm-data-exports:Get*/List* to CI plan role (not in ReadOnlyAccess) - IAM policy already applied manually to unblock CI
Terraform Plan🚧 Changes detected — Plan: 1 to add, 0 to change, 1 to destroy. Plan outputLLM ReviewRisk: 🟢 LOW Terraform plan replaces a tainted AWS BCM Data Exports resource for cost analytics with no impact to production infrastructure.
|
Alexanderamiri
added a commit
that referenced
this pull request
May 9, 2026
## Summary - `BILLING_VIEW_ARN`: set to actual AWS value to prevent provider drift bug (#42761) - `bcm-data-exports:Get*/List*`: added to CI plan role (not in ReadOnlyAccess managed policy) - IAM policy already applied manually to unblock CI Plan verified locally — 1 add (CUR recreate from taint), 1 change (resource_tagger code), 1 destroy (tainted CUR). ## Test plan - [x] `terraform plan` passes locally with `--profile javabin` - [ ] CI plan passes - [ ] Apply recreates CUR export successfully
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
BILLING_VIEW_ARN: set to actual AWS value to prevent provider drift bug (#42761)bcm-data-exports:Get*/List*: added to CI plan role (not in ReadOnlyAccess managed policy)Plan verified locally — 1 add (CUR recreate from taint), 1 change (resource_tagger code), 1 destroy (tainted CUR).
Test plan
terraform planpasses locally with--profile javabin