File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,11 @@ resource "aws_instance" "app-server-read" {
50
50
iam_instance_profile = aws_iam_instance_profile. ec2_profile . name
51
51
associate_public_ip_address = true
52
52
subnet_id = aws_subnet. public [0 ]. id
53
+ ebs_optimized = true
54
+ monitoring = true
55
+ root_block_device {
56
+ encrypted = true
57
+ }
53
58
tags = {
54
59
Name = " app-4-server-read"
55
60
}
@@ -68,6 +73,11 @@ resource "aws_instance" "app-server-write" {
68
73
iam_instance_profile = aws_iam_instance_profile. ec2_profile . name
69
74
associate_public_ip_address = true
70
75
subnet_id = aws_subnet. public [0 ]. id
76
+ ebs_optimized = true
77
+ monitoring = true
78
+ root_block_device {
79
+ encrypted = true
80
+ }
71
81
tags = {
72
82
Name = " app-4-server-write"
73
83
}
You can’t perform that action at this time.
0 commit comments