-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Underlying type error when using Terraformer tool #16920
Comments
Do you know what resource is causing the problem? I guess I'm confused as to how this is a problem with the provider itself rather than the terraformer tool. Is there a terraform import command that is being run that fails in the provider? |
@slevenick Terraform tool itself works normally. No errors in logs or anything like that. I am assuming the problem is an internal issue on the HCL language regarding how it describes basic data types. This seems to be of essence for Terraformer tool and there seems to be an inconsistency between the current state and the HCL definition of the data types involved in describing the state that Terraformer is attempting to reverse engineer. Note that Terraformer is a side project at Google, not an official product, but neither a hobbyist work. |
If the problem is in HCL itself this repo wouldn't be the right place to report it. If this is a problem with this provider we would need a way to reproduce the error using the provider itself. As it stands I would recommend opening an issue on the Terraformer repo instead. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Affected Resource(s)
google_*
, although that's a bit irrelevant, see description of the problem.Terraform Configuration Files
N/A / irrelevant, see description
Debug Output
N/A / irrelevant, see description
Panic Output
N/A / irrelevant, see description
Expected Behavior
When using terraformer tool, Terraform configs should be imported as
.tf
file(s) to the current folder.Actual Behavior
An error is generated and an incomplete (empty) description of the Terraform state in tf files is generated (the expected behavior of Terraformer tool).
Steps to Reproduce
NOTE: This is exactly the same problem as described in linked issue below.
terraform init
(state is remotely maintained on GCP Cloud Storage).gcloud auth application-default login --impersonate-service-account XXXXXXXXX@XXXXXXX.iam.gserviceaccount.com
terraformer plan google --projects GCP_PROJECT_ID --regions GCP_REGION
Terraform definitions (
.tf
files) should be generated under./generated
folder, but instead, an empty plan.json is generated on the mentioned folder and stdout shows the following error pointing at a problem in terraform-provider-google and not a Terraformer problem itself is output from the above command:Important Factoids
References
The following issue describes exactly the same problem (i.e.: the problem remains but the issue was not followed up)
The text was updated successfully, but these errors were encountered: