New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: replace TF Cloud implementation with TF CLI #1955
Conversation
f61e342
to
c60cdbd
Compare
daf70d7
to
760ab00
Compare
760ab00
to
88ca0d0
Compare
88ca0d0
to
b75270a
Compare
7677fcb
to
e5cae30
Compare
0662a4b
to
217b739
Compare
Okay, so #490 does not quite work yet with this PR and requires a follow-up: |
Hey, this seems like a better approach otherwise but... when I tried out this branch, and got this error when running
Apparently, TFC/TFE does not support saving the plan locally through Therefore, it seems almost impossible to get to the state where Is such a huge discrepancy between normal terraform behaviour and TFC/TFE something on the terraform and cdktf team radar? What is the plan for cdktf to address it? |
Hi @michaellzc 👋 Wow, you are quite the adventurer by daring to test this draft PR 😁👏 Yeah, I noticed that as well when I took over Daniel's work on this. In the long term, we're working with the team working on the Terraform CLI on a solution that allows us to close this gap (I don't know yet whether they'll support saving a TFC/E remote plan in a file that can be applied or whether a different solution will be preferred). However, as we need to support current Terraform CLI versions as well, our current approach is to use the Terraform CLI in an interactive way (via |
…or authenticated requests when determining available pre-built providers for Go We can't use CDKTF_ in a prefix as that collides with yargs arguments from env vars and its strict mode. Refer to: yargs/yargs#873
7f9efc7
to
9641a02
Compare
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
…rectory to deploy into which had no effect
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
This PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
This will allow us to integrate better with TFC and TFE without additional work being spend on polishing this part.
TODO