Skip to content

Instantly share code, notes, and snippets.

@jlucktay
Created May 24, 2018 15:08
Show Gist options
  • Save jlucktay/fab82cdeb3594fd5b024ddeb4ab49d6b to your computer and use it in GitHub Desktop.
Save jlucktay/fab82cdeb3594fd5b024ddeb4ab49d6b to your computer and use it in GitHub Desktop.
Diffs didn't match during apply. This is a bug with Terraform and should be reported as a GitHub Issue.
Error: Error applying plan:
1 error(s) occurred:
* aws_ebs_volume.gp2: aws_ebs_volume.gp2: 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.11.7
Resource ID: aws_ebs_volume.gp2
Mismatch reason: attribute mismatch: tags.%
Diff One (usually from plan): *terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{"tags.Name":*terraform.ResourceAttrDiff{Old:"james.lucktaylor.ec2.fa-sftp", New:"james.lucktaylor.ec2.fa-sftp.sdb", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "tags.Owner":*terraform.ResourceAttrDiff{Old:"james.lucktaylor", New:"james.lucktaylor", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "tags.ParentInstance":*terraform.ResourceAttrDiff{Old:"james.lucktaylor.ec2.fa-sftp (i-004dcca78f0971c0a)", New:"", NewComputed:false, NewRemoved:true, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "tags.%":*terraform.ResourceAttrDiff{Old:"6", New:"4", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "tags.Purpose":*terraform.ResourceAttrDiff{Old:"Labs", New:"Labs", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "tags.KillDate":*terraform.ResourceAttrDiff{Old:"01/01/2019", New:"01/01/2019", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, "tags.Created":*terraform.ResourceAttrDiff{Old:"2018-05-24T14:11:18Z", New:"", NewComputed:false, NewRemoved:true, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false, Meta:map[string]interface {}(nil)}
Diff Two (usually from apply): *terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{"tags.Name":*terraform.ResourceAttrDiff{Old:"james.lucktaylor.ec2.fa-sftp", New:"james.lucktaylor.ec2.fa-sftp.sdb", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false, Meta:map[string]interface {}(nil)}
Also include as much context as you can about your config, state, and the steps you performed to trigger this error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment