I'm trying to use `atlassian/aws-s3-deploy` with `EXTRA_ARGS` pipe variable like: `--exclude * --include images/*` but single `*` character in `--exclude` argument is replaced with all files listed in the current category separated by a space.
Final command run by pipe should look like:
<span>aws s3 sync /opt/atlassian/pipelines/agent/build s3://bucket_name/ --exclude * --include images/*</span>
But in debug mode I see:
<span>aws s3 sync /opt/atlassian/pipelines/agent/build s3://bucket_name/ --exclude app.php css images js --include 'images/*'</span>
As you can see, `*` character was replaced with file list which break command to work.
If I quote (or double quote) `EXTRA_ARGS` the `*` is not replaced but executed command look like:
<span>aws s3 sync /opt/atlassian/pipelines/agent/build s3://bucket_name/ '--exclude * --include images/*'</span>
which also break command.
If I quote (or double quote) only `*` is not replaced and executed command look like:
<span>aws s3 sync /opt/atlassian/pipelines/agent/build s3://bucket_name/ --exclude '*' --include images/*</span>
but then in debug mode I can see:
<span>020-01-02 00:01:27,529 - MainThread - awscli.customizations.s3.filters - DEBUG - /opt/atlassian/pipelines/agent/build/app.php did not match exclude filter: /opt/atlassian/pipelines/agent/build/'*'</span>
so it use wrong value with filter (not remove quotes) and results with not match.
Is there any way to escape `*` that it will not be replaced?