-
Notifications
You must be signed in to change notification settings - Fork 14
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
Import fails due to missing variables #116
Comments
+1 I am seeing the same thing currently. It had worked before with a different workspace to export and import but now it is failing when trying to import. Also I see it had not generated the tf to init these variables. |
I just reran an export in my initial environment and a file "terraform.tfvars" got created with the variables needed. So in this env it seems to all be working but not in the other env. I will checkout the differences now. |
I see the following entries in the export log where the export / import is working but I am not seeing this part where the export / import is failing:
What I see instead however in the environment where it is failing to generate the variables I am seeing some 403 errors on exporting secrets. |
Aha, I now commented out the configuration for exporting secrets and I can see in the generated TF code for the export that it had properly created a variables TF file. So this seems to have been the issue for me here. Currently busy doing a fresh export and import. |
Hi all. This tool fails to import due to missing Terraform variables. An example of which is below, but it is not always just this type of variable:
This is a clean E2 workspace with nothing in it. I am attempting to import an export generated from a legacy workspace in another account.
On another note, is there an option to generate .tf files based on the export files? Or see the temporary files used to generate the plan?
The text was updated successfully, but these errors were encountered: