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

Add variable validations for error prone variables #175

Open
2 tasks
malparty opened this issue Mar 9, 2023 · 0 comments
Open
2 tasks

Add variable validations for error prone variables #175

malparty opened this issue Mar 9, 2023 · 0 comments
Labels
type : feature New feature or request

Comments

@malparty
Copy link
Member

malparty commented Mar 9, 2023

Why

Terraform allows the validation of variables. This comes with 2 benefits:

  • avoid deploying an infra with invalid variables
  • provide clear error messages about what is wrong and why (reduce the need for debugging the issue)

Of course, we might not want to validate ALL the variables, this issue should process with 2 steps:

  • Identify what variables should be covered with what validations
  • Implement the validations

Who Benefits?

Developers with better DevX (guidance and early errors), and users with less unexpected infrastructure deployed.

Resource

See this tutorial: Validate Variables

@malparty malparty added the type : feature New feature or request label Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type : feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant