Skip to content

op run -- terraform <command> fails because it doesn't allow setting credentials #502

Open
@npearson72

Description

@npearson72

op CLI version

2.30.3

Goal or desired behavior

For this to work:

op run --env-file=.env -- terraform <command>

Current behavior

Running op run --env-file=.env -- terraform <command> command throws the following error (without allowing to select credentials):

Error: NoCredentialProviders: no valid providers in chain. Deprecated.
      For verbose messaging see aws.Config.CredentialsChainVerboseErrors

I was required to remove the terraform alias in ~/.config/op/plugins.sh to get it t work. But now I have to use the following command:

op run --env-file=.env -- op plugin run -- terraform <command>

Relevant log output

Error: NoCredentialProviders: no valid providers in chain. Deprecated.
      For verbose messaging see aws.Config.CredentialsChainVerboseErrors

Metadata

Metadata

Assignees

No one assigned

    Labels

    op-cliFunctionality to be implemented in 1Password CLI. Needs to be done by 1Password Developers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions