Difference between revisions of "Terraform aws instance: root block device"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{lc}}
 
 
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#root_block_device
 
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#root_block_device
 
  [[root_block_device]] - (Optional) Configuration block to customize details about the root block device of the instance. See [[Block Devices]] below for details. When accessing this as an attribute reference, it is a list containing one object
 
  [[root_block_device]] - (Optional) Configuration block to customize details about the root block device of the instance. See [[Block Devices]] below for details. When accessing this as an attribute reference, it is a list containing one object
Line 10: Line 9:
 
  root_block_device {
 
  root_block_device {
 
     ~ [[iops]]            = 3000 -> 0
 
     ~ [[iops]]            = 3000 -> 0
       [[tags]              = {}
+
       [[tags]]              = {}
 
  }
 
  }
 
   
 
   
 +
 +
 +
 +
    "root_block_device": {
 +
      "[[volume_size]]": "30",
 +
      "volume_type": "gp3"
 +
      "tags": {
 +
        "FileSystem": "/root"
 +
      }
 +
    }
 +
  
 
== Related ==
 
== Related ==
 +
* <code>[[volume_size]], [[volume_type]] </code>
 
* <code>[[terraform plan]]</code>
 
* <code>[[terraform plan]]</code>
 
* Terraform resource: <code>[[aws_instance]]</code>
 
* Terraform resource: <code>[[aws_instance]]</code>
 
* <code>[[IOPS]]</code>
 
* <code>[[IOPS]]</code>
 
* <code>[[user_data]]</code>
 
* <code>[[user_data]]</code>
 +
* <code>[[ebs_block_device]]</code> argument
  
 
== See also ==
 
== See also ==

Latest revision as of 11:10, 25 October 2024

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance#root_block_device

root_block_device - (Optional) Configuration block to customize details about the root block device of the instance. See Block Devices below for details. When accessing this as an attribute reference, it is a list containing one object
iops - (Optional) Amount of provisioned IOPS. Only valid for volume_type of io1, io2 or gp3.


root_block_device
root_block_device {
   ~ iops             = 3000 -> 0
     tags              = {}
}


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


Related[edit]

See also[edit]

Advertising: