aws-cloudformation-github-deploy icon indicating copy to clipboard operation
aws-cloudformation-github-deploy copied to clipboard

Mistake in documentation for parameter-overrides

Open aleksy-zalenski opened this issue 3 years ago • 0 comments

In the documentation of parameters for this github action there is a mistake for specifying parameter-overrides from a file. For some reason the documentation suggest the following format: (e.g. file://file://${{ github.workspace }}/variables.json) where the file:// is duplicated, when in fact the following format works: (e.g. file://${{ github.workspace }}/variables.json).

It is very confusing, so it would be good to fix that.

Suggested fix:

description: 'The parameters to override in the stack inputs. You can pass a comma-delimited list or a file URL. Comma-delimited list has each entry formatted as <ParameterName>=<ParameterValue>. A JSON file can be a local file with a "file://" prefix or remote URL (e.g. file://${{ github.workspace }}/variables.json or http://example.com/variables.json). A local file needs to be specified with an absolute path to it. The file should look like: [ { "ParameterKey": "KeyPairName", "ParameterValue": "MyKey" }]'

Reference to the discussed line: https://github.com/aws-actions/aws-cloudformation-github-deploy/blob/e52fd9690fef4df4a8d5086099f6fcb42207c75a/action.yml#L18

aleksy-zalenski avatar Jun 10 '21 09:06 aleksy-zalenski