Template file without parameters fails in v2
See original GitHub issueThe resource.paramter_file is passing Null value when there is no parameter file for a given template. The manifest.yaml
is inherited from version 1 repo.
This forces the template files to have a parameter.
2021-03-23T23:49:48.883-07:00 parameters = self._load_params_from_file(resource.parameter_file)
2021-03-23T23:49:48.883-07:00 File "/codebuild/output/src377331526/src/manifest/manifest_parser.py", line 373, in _load_params_from_file
2021-03-23T23:49:48.883-07:00 with open(parameter_file, 'r') as content_file:
2021-03-23T23:49:48.883-07:00 IsADirectoryError: [Errno 21] Is a directory: '/codebuild/output/src377331526/src/'
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Template file without parameters fails in v2 · Issue #51 - GitHub
The resource.paramter_file is passing Null value when there is no parameter file for a given template. The manifest.yaml is inherited from ...
Read more >Resolve template validation or template format errors in ...
I receive an error message when I try to create my AWS CloudFormation stack. Short description. Choose one of the following solutions based...
Read more >There are no arguments that depend on a template parameter
I have to read all the contents from a file. Each field is separated by '\t' character, so I have to ignore the...
Read more >1247676 – When a required parameter from an application ...
The 'parameters.source.git.uri' is not a template parameter, it is BuildConfig field. So the error you seen is a validation error coming from the...
Read more >Tutorial: Use parameter files to deploy your ARM template
Use parameter files that contain the values to use for deploying your Azure Resource Manager template (ARM template).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
One of the properties parameter_files or parameters is required for the pipeline to generate an event with the parameters for the state machine. We can add this as a feature request to make these properties optional. I think this may add burden on the user to validate the template has default value for all the parameters in the template.
Please give a thumbs up this comment if this feature is applicable to you. Thanks.
Thanks @cabjas01 for confirming. The new manifest version supports deploying StackSet without parameters or parameter_file property.