File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -93,8 +93,9 @@ module "ec2" {
93
93
enable_volume_tags = false
94
94
root_block_device = [
95
95
{
96
- volume_type = " gp2 "
96
+ volume_type = " gp3 "
97
97
volume_size = 10
98
+ throughput = 200
98
99
tags = {
99
100
Name = " my-root-block"
100
101
}
@@ -104,8 +105,9 @@ module "ec2" {
104
105
ebs_block_device = [
105
106
{
106
107
device_name = " /dev/sdf"
107
- volume_type = " gp2 "
108
+ volume_type = " gp3 "
108
109
volume_size = 5
110
+ throughput = 200
109
111
encrypted = true
110
112
kms_key_id = aws_kms_key.this.arn
111
113
}
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ resource "aws_instance" "this" {
35
35
kms_key_id = lookup (root_block_device. value , " kms_key_id" , null )
36
36
volume_size = lookup (root_block_device. value , " volume_size" , null )
37
37
volume_type = lookup (root_block_device. value , " volume_type" , null )
38
+ throughput = lookup (root_block_device. value , " throughput" , null )
38
39
tags = lookup (root_block_device. value , " tags" , null )
39
40
}
40
41
}
@@ -50,6 +51,7 @@ resource "aws_instance" "this" {
50
51
snapshot_id = lookup (ebs_block_device. value , " snapshot_id" , null )
51
52
volume_size = lookup (ebs_block_device. value , " volume_size" , null )
52
53
volume_type = lookup (ebs_block_device. value , " volume_type" , null )
54
+ throughput = lookup (ebs_block_device. value , " throughput" , null )
53
55
}
54
56
}
55
57
@@ -105,4 +107,4 @@ resource "aws_instance" "this" {
105
107
credit_specification {
106
108
cpu_credits = local. is_t_instance_type ? var. cpu_credits : null
107
109
}
108
- }
110
+ }
You can’t perform that action at this time.
0 commit comments