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

config validations #27

Merged
merged 7 commits into from
Jul 13, 2018
Merged

config validations #27

merged 7 commits into from
Jul 13, 2018

Conversation

ryanking
Copy link
Contributor

This validates the config on plan and apply and supplies a slightly-better-than-panic error message. Room for improvement, but at least it now fails fast.

@ryanking ryanking requested a review from a team as a code owner July 12, 2018 23:16
apply/apply.go Outdated
"github.com/chanzuckerberg/fogg/plan"
"github.com/chanzuckerberg/fogg/templates"
"github.com/chanzuckerberg/fogg/util"
"github.com/gobuffalo/packr"
"github.com/hashicorp/hcl/hcl/printer"
"github.com/hashicorp/terraform/config"
tf_config "github.com/hashicorp/terraform/config"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does go fmt complain about the snake case?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, but i will camel it anyway

@ryanking ryanking merged commit d8607d2 into master Jul 13, 2018
@ryanking ryanking deleted the ryanking/validations branch July 13, 2018 17:36
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.

3 participants