Difference between revisions of "Terraform resource: ebs block device argument"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
[[device_name]] = "[[/dev/sdf]]" | [[device_name]] = "[[/dev/sdf]]" | ||
volume_size = 50 | volume_size = 50 | ||
− | volume_type = "gp3" | + | [[volume_type]] = "[[gp3]]" |
delete_on_termination = false | delete_on_termination = false | ||
} | } |
Revision as of 06:16, 25 April 2023
ebs_block_device
argument in aws_instance resourceebs_block_device
input in ec2-instance module
Example
ebs_block_device { device_name = "/dev/sdf" volume_size = 50 volume_type = "gp3" delete_on_termination = false }
Related
- Terraform resource: aws_volume_attachment
- Terraform apply: ec2 instance example (aws instance)
- Terraform resource: aws_ebs_volume
root_block_device
See also
Advertising: