microsoft / azure-pipelines-terraform

Azure Pipelines tasks for installing Terraform and running Terraform commands in a build or release pipeline.
MIT License
107 stars 66 forks source link

We have multiple AWS service connections in our Azure DevOps project but none are listed in the Terraform release task? #92

Closed kknd4eva closed 2 years ago

kknd4eva commented 2 years ago

As per the below image, despite us having AWS service connections with permissions to all pipelines (and in use in may places) they don't show up to be selected in any version of the Terraform release task?

2022-10-18 22_56_08-New release pipeline - Pipelines

AminTi commented 2 years ago

 Thanks for reporting

mericstam commented 2 years ago

Hi, Trying to investigate a little. which type of AWS service connection do you use?
image

I used the 'AWS for Terraform' service connection type and I can see it in the drop down list on the release task

kknd4eva commented 2 years ago

Hi, I think this can be closed. I was under the mistaken assumption you could use the standard service connection for the Terraform task. I see now you have to have a specific one for the Terraform tasks. I don't know if it's possible, but it would be nicer if you could just leverage your existing service connection(s) for these tasks.