-
Notifications
You must be signed in to change notification settings - Fork 266
Unify cluster state generation and saving of assets #1363
Comments
just had this issue when trying to create multiple clusters on AWS using Terraform and the CLI. I tried using I didn't know about the Apart from the docs update, also need to add |
@so0k yes, those generated assets should be at |
@sym3tri I'd like to bump priority of this. You can't destroy from just the state downloaded from the UI:
Here's what I see:
|
I believe this is an upstream bug in the terraform seems the yelp |
@sym3tri - was I added to CoreOSdev atlassian jira by mistake? Wasn't sure where to contact you |
@so0k sorry about that. There was an issue with our issue import. Should be resolved now. |
Today we have diverged slightly between installs via GUI or CLI for how the state and assets are saved after a cluster is brought up. Below are the differences and ways to solve this:
Installer GUI
assets.zip
where ever they downloaded it<installer-root>/<os>/clusters/<name>_<date>
CLI with Terraform
<installer-root>
in the default location (and managed withterraform env
)<installer-root>/generated
<installer-root>/build/<name>
Problems
terraform env
If you follow the GUI installer, here's the high level output, namespaced by cluster:
The
generated
folder contains all of the secrets and other data. This is also included/generated by Terraform CLI flows, but not in a namespaced location, as mentioned above.And the state is in the default location:
Proposal
No matter how you install, generate assets that are as similar as possible in structure. For example, match folder names when possible, and add on additional things like TF state.
tectonic/clusters/<name>/
plan
commands to send their output hereplan
output toapply
via flag. This is more proper and repeatable.destroy
commands to point to the new state locationThe text was updated successfully, but these errors were encountered: