Skip to content

r/hcx_vmc stuck in constant failing state when token expires #4

Open
@Lizzam

Description

@Lizzam

Hi,

There's an issue that when the api token used for the hcx_vmc resources token attribute expires, every terraform plan or apply will fail with...

Error: status: 400, body: {"moduleCode":340,"message":"invalid_grant: Invalid refresh token: xxxx...","metadata":null,"requestId":"xxxx...","cspErrorCode":"340.206-340.800","statusCode":400}

...even after updating the token attribute to a new valid api token. The only current known way around this is to destroy the resource or manually edit the statefile with the valid api token.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions