Open rito-sixt opened 1 year ago
Voting for Prioritization
Volunteering to Work on This Issue
As a workaround, this keeps plan
/apply
clean:
resource "aws_budgets_budget" "tenant_auto_adjust" {
#[...]
lifecycle {
ignore_changes = [
limit_amount
]
}
}
Terraform Core Version
1.1.7
AWS Provider Version
4.38.0
Affected Resource(s)
aws_budgets_budget
Expected Behavior
While configuring an auto adjusting budget, the fixed limit_amount becomes irrelevant. The current problem is that if we configure a budget with a
auto_adjust_data
block, for successive applies, Terraform keeps prompting that there was a change outside of Terraform, and hence wants me to sync the state back.Actual Behavior
Ideally, while configuring an auto-adjusting budget does not need a fixed limit at all, and the budget amount can be excluded from Terraform altogether.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
terraform apply
on the above mentioned configuration blockterraform plan
commands indicate that the budgets were changed out of Terraform, which is indeed true, but quite irrelevant and would be cumbersome to maintainDebug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
Yes, if we can agree on a solution.