microsoft / azure-pipelines-terraform

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

Allow Option to Override Subscription ID #218

Open hari2anand opened 2 months ago

hari2anand commented 2 months ago

https://github.com/microsoft/azure-pipelines-terraform/blob/648beac95fde31be0f57ea6e872a5261a60a38a6/Tasks/TerraformTask/TerraformTaskV4/src/azure-terraform-command-handler.ts#L27C10-L27C11

there are cases where a common service connection is used to manage multiple subscriptions, in such cases it would be great to provide an option to override subscription-id for each case!