Created
June 20, 2016 17:11
-
-
Save hngkr/f98472c788ac883086425170b65b3f0d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ terraform apply | |
aws_api_gateway_rest_api.terraform_template_rest_api: Creating... | |
description: "" => "This is for testing a Terraform Template bug" | |
name: "" => "TerraformTemplateTest" | |
root_resource_id: "" => "<computed>" | |
aws_api_gateway_rest_api.terraform_template_rest_api: Creation complete | |
Error applying plan: | |
1 error(s) occurred: | |
* template_file.dummy: diffs didn't match during apply. This is a bug with Terraform and should be reported as a GitHub Issue. | |
Please include the following information in your report: | |
Terraform Version: 0.7.0 | |
Resource ID: template_file.dummy | |
Mismatch reason: extra attributes: vars.rest_api | |
Diff One (usually from plan): *terraform.InstanceDiff{Attributes:map[string]*terraform.ResourceAttrDiff{"template":*terraform.ResourceAttrDiff{Old:"", New:"Rest API id: {rest_api}\n", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "vars.%":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "rendered":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}}, Destroy:false, DestroyTainted:false} | |
Diff Two (usually from apply): *terraform.InstanceDiff{Attributes:map[string]*terraform.ResourceAttrDiff{"vars.%":*terraform.ResourceAttrDiff{Old:"", New:"1", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "vars.rest_api":*terraform.ResourceAttrDiff{Old:"", New:"ce5uwogg2h", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}, "rendered":*terraform.ResourceAttrDiff{Old:"", New:"", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "template":*terraform.ResourceAttrDiff{Old:"", New:"Rest API id: {rest_api}\n", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:true, Sensitive:false, Type:0x0}}, Destroy:false, DestroyTainted:false} | |
Also include as much context as you can about your config, state, and the steps you performed to trigger this error. | |
Terraform does not automatically rollback in the face of errors. | |
Instead, your Terraform state file has been partially updated with | |
any resources that successfully completed. Please address the error | |
above and apply again to incrementally change your infrastructure. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment