Skip to content

Commit 15d6e42

Browse files
Merge pull request #9 from depot/fix-volume-sizes
2 parents 952504f + 7cce60c commit 15d6e42

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

main.tf

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -154,16 +154,6 @@ resource "aws_launch_template" "x86" {
154154
user_data = base64encode(templatefile("${path.module}/user-data.sh.tftpl", { DEPOT_CLOUD_CONNECTION_ID = var.connection-id }))
155155
update_default_version = true
156156

157-
block_device_mappings {
158-
device_name = "/dev/xvda"
159-
ebs {
160-
delete_on_termination = true
161-
encrypted = true
162-
volume_size = 10
163-
volume_type = "gp3"
164-
}
165-
}
166-
167157
iam_instance_profile {
168158
arn = aws_iam_instance_profile.instance[0].arn
169159
}
@@ -200,16 +190,6 @@ resource "aws_launch_template" "arm" {
200190
user_data = base64encode(templatefile("${path.module}/user-data.sh.tftpl", { DEPOT_CLOUD_CONNECTION_ID = var.connection-id }))
201191
update_default_version = true
202192

203-
block_device_mappings {
204-
device_name = "/dev/xvda"
205-
ebs {
206-
delete_on_termination = true
207-
encrypted = true
208-
volume_size = 10
209-
volume_type = "gp3"
210-
}
211-
}
212-
213193
iam_instance_profile {
214194
arn = aws_iam_instance_profile.instance[0].arn
215195
}

0 commit comments

Comments
 (0)