-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Terraform crashes with interface conversion in GCE Instance Template #2901
Comments
I got it to work on my local with simple typecast.
|
I have same issue with disk_size_gb in google_container_cluster.node_config
|
* master: (71 commits) Updated AWS_SQS_QUEUE docs Update CHANGELOG.md Update CHANGELOG.md Fix #2901 Update CHANGELOG.md Clarify that you get the AMI id from metadata provider/aws: Update to aws-sdk 0.9.0 rc1 use name instead of id - launch configs use the name and not ID Fix typo on heroku_cert example google: Code formatted via gofmt Code formatted via gofmt 'terraform output' helptext spacing fixed provider/aws: add value into ELB name validation message tests: fix missed test update from last merge update prevent_destroy error message Update CHANGELOG.md Update CHANGELOG.md providers/aws: Update Launch Config. docs to detail naming and lifecycle recommendation release: cleanup after v0.6.3 v0.6.3 ...
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. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Seems to be related to the disk_size_gb arg.
panic: interface conversion: interface is int, not int64
2015/07/31 02:41:57 terraform-provider-google:
2015/07/31 02:41:57 terraform-provider-google: goroutine 38 [running]:
2015/07/31 02:41:57 terraform-provider-google: github.com/hashicorp/terraform/builtin/providers/google.buildDisks(0xc2080522a0, 0x99d3c0, 0xc208040eb0, 0x0, 0x0, 0x0, 0x0, 0x0)
Not sure if I'm expected to create the disk separately then reference it in to the template. The disk_size_gb arg isn't documented, but i saw the code was there and its supported by API.
I'm on 0.6.2dev built from master. I can duplicate readily just using the sample code from docs and adding "disk_size_gb = 20" on the boot disk. I'll post the crash.log if needed.
The text was updated successfully, but these errors were encountered: