Difference between revisions of "Terraform aws instance: root block device"
Jump to navigation
Jump to search
Line 9: | 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" | ||
+ | } | ||
+ | } | ||
Revision as of 12:01, 13 March 2023
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
volume_size, volume_type
terraform plan
- Terraform resource:
aws_instance
IOPS
user_data
ebs_block_device
See also
Advertising: