aws / aws-toolkit-azure-devops

AWS Toolkit for Azure DevOps
Other
243 stars 101 forks source link

S3 upload task - output the url of files uploaded to S3 bucket #45

Open rakeshbabup opened 6 years ago

rakeshbabup commented 6 years ago

I want to access the url of the zip file uploaded by S3 upload task. can this be returned as output by the S3 upload task?

stevejroberts commented 6 years ago

It certainly could.

Ideally we'd only present the option to set the variable if we knew the glob would be a single match at task definition time. Even if we could accurately analyze the glob to detect wildcards, I don't think the visibility logic in a task definition can handle calling out to a function to make the visible/hide determination, so we'd likely have to always show it.

In that case, what behavior would you expect if multiple objects got uploaded? The task would simply not set the variable?