volume size

From wikieduonline
Jump to navigation Jump to search

root_block_device {
    volume_size = 50
}
  "root_block_device": {
    "volume_size": "30",
    "volume_type": "gp3"
    "tags": {
      "FileSystem": "/root"
    }


Terraform will perform the following actions:

 # aws_instance.myUbuntuMicroInstance will be updated in-place
 ~ resource "aws_instance" "myUbuntu" {
       id                                   = "i-04dc87d0e13ac1234"
       tags                                 = {
           "Name" = "myUbuntu"
       }
       # (32 unchanged attributes hidden)

     ~ root_block_device {
           tags                  = {}
         ~ volume_size           = 8 -> 50
           # (7 unchanged attributes hidden)
       }

       # (6 unchanged blocks hidden)
   }

Plan: 0 to add, 1 to change, 0 to destroy.


root_block_device
ebs_block_device
terraform plan
growpart
resize2fs
Increase EBS size

Activities[edit]

  1. Extend LVM on qcow2 images
  2. Increase EBS size

See also[edit]

Advertising: