[BUG]: token/owner are ignored in provider, only env vars take into affect #2242
Labels
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
Expected Behavior
I initialize github provider v6.2.1 (latest at the moment) as following:
and it doesn't work, yet when I supply the same owner/token in env vars GITHUB_OWNER/GITHUB_TOKEN - it works.
I tried to debug using TF_LOG_PROVIDER=info, the only interesting messages:
and soon:
this seems related to the fact that no token provided.
since i want to keep token encrypted in TF files I need a way to pass it to provider not using env vars. please advise.
Actual Behavior
token/owner specified directly in provider are not used.
(I verified that I don't have env vars set to any values at all)
Terraform Version
Terraform v1.5.7
on darwin_arm64
Affected Resource(s)
all
Terraform Configuration Files
Steps to Reproduce
just terraform apply:
Debug Output
No response
Panic Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: