jason-johnson/azure-pipelines-tasks-terraform

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

Closed this issue · 3 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

Hi,

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

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

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