CloudBackend: support environment variables like TF_CLOUD_ORGANIZATION #3586
Labels
bug/has-workaround
A bug with a workaround (may not be elegant)
bug
Something isn't working
cdktf
priority/important-longterm
Medium priority, to be worked on within the following 1-2 business quarters.
terraform cloud
Expected Behavior
I expected cdktf to follow the cloud block documentation
Hopefully the other environment variables mentioned in those docs can be supported as well. The current list is:
Actual Behavior
It turns out that
organization
is a required prop forCloudBackend
.Steps to Reproduce
organization
.Versions
cdktf debug
language: typescript
cdktf-cli: 0.20.6
node: v20.10.0
cdktf: 0.20.6
constructs: 10.3.0
jsii: null
terraform: 1.8.0
arch: x64
os: linux 6.5.0-27-generic
providers
@cdktf/provider-tfe (PREBUILT)
terraform provider version: 0.53.0
prebuilt provider version: 11.2.0
cdktf version: ^0.20.0
Providers
──────────┬────────────┬──────────────┬──────────────┬───────────┐
───── ────── ─── ──── ─────── ─────
Provider │ Provider │ CDKTF Constra│ Package Name │ Package │
Name Version int Version
──────────┼────────────┼──────────────┼──────────────┼───────────┤
───── ────── ─── ──── ─────── ─────
tfe │ 0.53.0 │ ^0.20 │ @cdktf/provid│ 11.2.0 │
.0 er-tfe
──────────┴────────────┴──────────────┴──────────────┴───────────┘
───── ────── ─── ──── ─────── ─────
Gist
No response
Possible Solutions
Workarounds
Anything Else?
No response
References
Help Wanted
Community Note
The text was updated successfully, but these errors were encountered: