epam/aws-syndicate

[Improvement] Validating object in build_meta.json file during deploy/clean/update actions

Closed this issue · 0 comments

Is your feature request related to a problem?
AWS Syndicate doest not validate objects that were specified during the deploy with the flag "--deploy_only_resources" and return successful execution result and generate empty output file.

syndicate deploy --bundle_name example-buncle --deploy_name example_s3 --deploy_only_resources templates_bucket

Describe the expected profit
I expect from AWS Syndicate validating object in build_meta.json. If this object does not exist, AWS should return an error exit code.

Describe the solution you'd like
Add build_meta.json objects validation for the following command flags:

Deploy:

  • deploy_only_types
  • deploy_only_resources
  • deploy_only_resources_path
  • excluded_resources
  • excluded_resources_path
  • excluded_types

Clean:

  • clean_only_types
  • clean_only_resources
  • clean_only_resources_path
  • excluded_resources
  • excluded_resources_path
  • excluded_types

Update:

  • update_only_types
  • update_only_resources
  • update_only_resources_path
  • excluded_resources
  • excluded_resources_path
  • excluded_types