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

Validate webflow-aws-config.yaml configuration #17

Open
fedecastelli opened this issue Jan 29, 2021 · 1 comment
Open

Validate webflow-aws-config.yaml configuration #17

fedecastelli opened this issue Jan 29, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@fedecastelli
Copy link
Contributor

Is your feature request related to a problem?
No.

Describe the solution you'd like
The configuration file is created thanks to the webflow-aws create-config command but the file can be updated manually by the user. Create a function to validate the configuration parameters.

@fedecastelli fedecastelli added the enhancement New feature or request label Jan 29, 2021
@70nyIT
Copy link
Contributor

70nyIT commented Jan 29, 2021

Function validate_config(config: dict) should return a dictionary so structured

{
  "valid": true / false,
  "missing_params": [],  // list of missing params
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants