azure-pipelines-tasks-terraform icon indicating copy to clipboard operation
azure-pipelines-tasks-terraform copied to clipboard

Add support for -backend-config=PATH when using terraform init

Open Degooya opened this issue 1 year ago • 2 comments

It would be nice to add support for the backend-config option, when using terraform init, to outsource the configuration of the remote state.

  • task: TerraformCLI@0 displayName: 'terraform init' inputs: command: init backendType: azurerm backendServiceArm: 'My Azure Service Connection' backendConfig: $(System.DefaultWorkingDirectory)/remote.conf

Degooya avatar May 23 '24 11:05 Degooya

Hi,

Is the existing self-configured not able to handle this use case?

jason-johnson avatar May 27 '24 15:05 jason-johnson

Hi @Degooya , does the linked configuration handle this case?

jason-johnson avatar Aug 14 '24 05:08 jason-johnson

No further response from requester and this case appears to already be covered. Closing.

jason-johnson avatar Aug 27 '24 11:08 jason-johnson