jason-johnson / azure-pipelines-tasks-terraform

Azure Pipelines extension for Terraform
MIT License
124 stars 52 forks source link

Feature request -- Enable AWS OIDC connections as well as secret and access key #436

Open interestinginteger123 opened 1 month ago

interestinginteger123 commented 1 month ago

Hi currently this task requires a secret and access key setup in the service connection. Would you be able to extend it to grab temporary credentials from OIDC from the aws tool kit connection please?

The aws tool kit does return a OIDC param looks of things so think adding in some conditional flow and returning a set of credentials would sort this.

https://github.com/aws/aws-toolkit-azure-devops/blob/master/src/lib/awsConnectionParameters.ts

In the toolkit of use OIDC is enabled it returns a set of temporary parameter for access.

jason-johnson commented 3 weeks ago

@piizei Thoughts?