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

Fix MatchOptions from triggering replacement #16

Closed
dragonfleas opened this issue Feb 15, 2024 · 1 comment · Fixed by #17
Closed

Fix MatchOptions from triggering replacement #16

dragonfleas opened this issue Feb 15, 2024 · 1 comment · Fixed by #17
Labels
bug A bug in the module

Comments

@dragonfleas
Copy link
Collaborator

Fix MatchOptions from triggering replacement

Problem Description:

There's currently a bug in the way that the aws_ce_anomaly_monitor resource is created with a jsonencode() that is causing monitor_specification.Tags.MatchOptions to trigger a replacement every apply due to the default in the aws api changing null to MatchOptions = null on resource creation.

Proposed Resolution:

Add MatchOptions = null to explicitly prevent replacement case from triggering

Tags = {
Key = "LINKED_ACCOUNT"
Values = var.account_list
}

@dragonfleas dragonfleas added the bug A bug in the module label Feb 15, 2024
@dragonfleas dragonfleas reopened this Feb 15, 2024
@dragonfleas
Copy link
Collaborator Author

DIdn't mean to close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug in the module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant