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

chore: add more ignored variables to evaluator #2307

Merged
merged 2 commits into from
Feb 22, 2023
Merged

Conversation

hugorut
Copy link
Contributor

@hugorut hugorut commented Feb 22, 2023

  • adds more ignored variables to list
  • changes pattern to match both _ and - separated vars
  • ignores case of variable

@hugorut hugorut self-assigned this Feb 22, 2023
internal/hcl/evaluator.go Outdated Show resolved Hide resolved
Co-authored-by: Vadim Golub <vadim@infracost.io>
@hugorut hugorut merged commit 9a058b6 into master Feb 22, 2023
@hugorut hugorut deleted the chore/ignore-more-vars branch February 22, 2023 13:43
robh007 pushed a commit to robh007/infracost that referenced this pull request Feb 27, 2023
* chore: add more ignored variables to evaluator

* update to strings.Join for better readability

Co-authored-by: Vadim Golub <vadim@infracost.io>

---------

Co-authored-by: Vadim Golub <vadim@infracost.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants