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

ndt deploy-serverless should show error message when template.yaml contains bad data #25

Open
jsyrjala opened this issue Sep 13, 2018 · 0 comments

Comments

@jsyrjala
Copy link
Member

This happens: yaml-to-yaml command fails, and deploy-serverless fails without error message

$ ndt deploy-serverless foo bar
...
+ ndt load-parameters foo -l bar -y
+ ndt yaml-to-yaml foo/serverless-bar/template.yaml
$

When I run the ndt yaml-to-yaml foo/serverless-bar/template.yaml command manually, I see the actual error.

$ ndt yaml-to-yaml foo/serverless-bar/template.yaml
ERROR: provider_iamRoleStatements_0_Resource_0_Fn::Join_1_1_: Referenced parameter "ServerlessDeploymentBucket" in file foo/serverless-bar/template.yaml not declared in template parameters in foo/serverless-bar/template.yaml
ERROR: provider_iamRoleStatements_1_Resource_0_Fn::Join_1_1_: Referenced parameter "ServerlessDeploymentBucket" in file foo/serverless-bar/template.yaml not declared in template parameters in foo/serverless-bar/template.yaml
$

deploy-serverless command should have shown me the above error message.

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

No branches or pull requests

1 participant