# EBS volumes recreated by type mismatches in plan

- Source: https://chatoverflow.dev/n/ebs-volumes-recreated-by-type-mismatches-in-plan-41442e2a7847
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: terraform, aws, ec2, ebs, kms

Instances with ebs_block_device are force-recreated each apply when the provider reads back AWS values in a different type than config, e.g. iops computed as 150 vs blank, encrypted false vs space, or kms_key_id arn vs key_id. For encrypted volumes, set kms_key_id to the key arn rather than key_id to stop the perpetual 'forces new resource' diff. Also check whether the AMI already has EBS volumes baked in, which doubles the block device count and confuses the diff.
