Open henning-krause opened 5 years ago
This looks very similar to https://github.com/aws/aws-vsts-tools/issues/303 , but we do not support that method of credentials. The reason for the difference is in the YAML task, that is getting resolved by VSTS itself, but here we would have to resolve it. A workaround for now is to use YAML based tasks, but we do want to add this method as well.
I'm using the AWS task in a Release Pipeline, which does not at the moment supports YAML. And in the cloud, altough multi-stage pipelines are available, they do not yet support deployment groups, AFAIK.
Describe the bug I have a deployment with multiple stages which are deployed to individual AWS organizations. Thus, I need to specify specific connections for each stage. So I set the AWS credential to
$(AWSAccount)
. This works for normal deployments. However, it fails when used in a deployment-group deployment.It fails with this log:
If I enter the actual endpoint directly, the log looks like this:
But this only happens on a Deployment Group job. It seems that the connection name is not being properly translated to its Id when run on a Deployment Group Job.
To reproduce Use an AWS task in a deployment group job. Specify the AWS credential via a variable like
$(AWSAccount)
and set the variable value to the name of an AWS credential.Expected behavior The task executes successfully.
Your Environment Azure Devops Server 2019, on-prem AWS Tools 1.50