Closed dstkdevhrp closed 2 years ago
Hi dstkdevhrp, You can use below configuration to increase root disk size,It is working for me. data "aws_kms_key" "ebs" { key_id = "alias/aws/ebs" } root_block_device = [ { delete_on_termination = true encrypted = true kms_key_id = data.aws_kms_key.ebs.arn volume_size = 200 volume_type = "gp2" tags = { Created_using_terraform = true } } ]
This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days
This issue was automatically closed because of stale in 10 days
I have the same issue - changes in the ebs_block_device
object produces no changes
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.
⚠️ Note
Before you submit an issue, please perform the following first:
.terraform
directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/
terraform init
Versions
Terraform v1.2.1 on darwin_amd64
Reproduction Code [Required]
Steps to reproduce the behavior:
No YesExpected behavior
I hope Terraform can update the volume size of the extra ebs volume of the ec2 instance.
Actual behavior
No matter which number it's changed to, Terraform always say 'no changes needed ...'
Terminal Output Screenshot(s)
Thanks for your product and the support!