(Running 2015.5.3)
When I tried to use this step to upload a full package directly, everything works as expected.
When I tried to use this step to upload a file within a package, all variable definition boxes under this setting failed to list the project variables.
I added the project variables explicitly instead of selecting from the dropdown, but the deployment failed anyway.
Example of problem: (note the variable dropdown does not display the project variables)
Example of what I expected to see: (note variable dropdown lists the project variables)
When I attempted to deploy, this was the error I received. I was trying to apply tags and my assumption is that these fields that had to have the values explicitly typed out did not get replaced with the true variable values and the tag then was trying to set a null value.
14:13:52 Error | Calamari.Aws.Deployment.AmazonFileUploadException: Failed to upload file C:\Octopus\Work\20180528041345-53478-209\staging\customer-create.zip. The TagValue you have provided is invalid —> Amazon.S3.AmazonS3Exception: The TagValue you have provided is invalid —> Amazon.Runtime.Internal.HttpErrorResponseException: The remote server returned an error: (400) Bad Request. —> System.Net.WebException: The remote server returned an error: (400) Bad Request.