dragondrop-cloud / cloud-concierge

Codify resources outside of Terraform control, detect drift, estimate cloud costs, identify security risks, and more. "Terraform best practices as a Pull Request."
https://docs.cloudconcierge.io
Apache License 2.0
195 stars 7 forks source link

Chore: Add authentication to request for remote TFCloud State Files #119

Closed GoodmanBen closed 8 months ago

GoodmanBen commented 8 months ago

Current State

A few days ago Terraform Cloud added authentication requirements to the https://app.terraform.io/api/state-versions/sv-{MY_STATE_VERSION}/hosted_state endpoint. We currently do not pass the TFC token to this endpoint call, which was leading to a 401 when called.

Desired State

Add authentication to the request and resolve the 401 error for the state version request

Do I want to work on this issue?