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

[Docs]: aws_budgets_budget document specifies cost_filter but teraform plan wants cost_filters #32111

Closed
rossbush opened this issue Jun 20, 2023 · 3 comments
Labels
documentation Introduces or discusses updates to documentation. service/budgets Issues and PRs that pertain to the budgets service.

Comments

@rossbush
Copy link

Documentation Link

https://registry.terraform.io/providers/hashicorp/aws/4.64.0/docs/resources/budgets_budget

Description

The documentation in the link above specifies the property as cost_filter, however, the error below occurs when cost_filter is used.

in resource "aws_budgets_budget" "budget_resources":
 117:   cost_filter = {

An argument named "cost_filter" is not expected here. Did you mean
"cost_filters"?

When changed to cost_filters, the plan succeeds.

References

No response

Would you like to implement a fix?

None

@rossbush rossbush added documentation Introduces or discusses updates to documentation. needs-triage Waiting for first response or review from a maintainer. labels Jun 20, 2023
@github-actions
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added the service/budgets Issues and PRs that pertain to the budgets service. label Jun 20, 2023
@github-actions github-actions bot removed the needs-triage Waiting for first response or review from a maintainer. label Jun 20, 2023
@rossbush
Copy link
Author

This actual cause of the message was the incorrect use of an equal's sign.

cost_filter = {}

instead of

cost_filter {}

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. service/budgets Issues and PRs that pertain to the budgets service.
Projects
None yet
Development

No branches or pull requests

1 participant