-
Notifications
You must be signed in to change notification settings - Fork 28
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
TPI website basic example is fragile #640
Comments
We could set
|
However, asking users to pass |
Do all clouds guarantee |
I think the root cause of this is using the same binary for the CLI tool, for instance shutdown in provisioned machines and as a terraform provider plugin. I don't think there would be any harm in separating the three. The only blocking issue would be finding proper names for the three.. |
✅
|
Using the same binary as a Terraform provider and as a command line tool is definitely a bizarre choice. Still, it's not directly related to the
The devil is in the details, but yes,
Not sure if it's “the only” issue, but it's probably the biggest one. Footnotes
|
so something like this?
|
Given that |
I thought GCP uses |
Google Cloud followed the |
Anyway the point of renaming is mostly to retain some backward-compatibility? |
Isn't it a bit too early to get started with “perfect backwards compatibility” on this project? |
added to #641 :) |
Was your idea 😁 |
I found this while testing out basic example in the README
If a user were to set
spot
to anything other than0
, the task will fail to start:An example
main.tf
that reproduces this (the only line changed isspot = 0.05
):This is caused by multiple decisions at multiple levels:
tpi
binary attempts to interpret amain.tf
file for parameterstpi
binary expectsspot
to parse as a booleanThere are several ways to address this, including updating the basic terraform configuration example, but I think the way
tpi
parses thespot
field needs to be changed.The text was updated successfully, but these errors were encountered: