Skip to content

Commit 7ab6d80

Browse files
committed
Remove some terraform blocks that pygment doesn't understand. They're mostly redundant anyway.
1 parent 0493aa6 commit 7ab6d80

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

content/blog/entries/crawling-500-million/contents.lr

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -326,14 +326,6 @@ resource "aws_instance" "crawler-workers" {
326326
"cc:purpose" = "Image crawler worker"
327327
"cc:team" = "cc-search"
328328
}
329-
volume_tags {
330-
Name = "image-crawler-worker-${var.environment}"
331-
environment = "${var.environment}"
332-
"cc:environment" = "${var.environment == "dev" ? "staging" : "production"}"
333-
"cc:product" = "cccatalog-api"
334-
"cc:purpose" = "Image crawler worker"
335-
"cc:team" = "cc-search"
336-
}
337329
}
338330
339331
resource "aws_instance" "crawler-monitor" {
@@ -342,9 +334,6 @@ resource "aws_instance" "crawler-monitor" {
342334
user_data = "${data.template_file.monitor_init.rendered}"
343335
subnet_id = "${element(data.aws_subnet_ids.subnets.ids, 0)}"
344336
vpc_security_group_ids = ["${aws_security_group.image-crawler-sg.id}"]
345-
root_block_device {
346-
volume_size = 150
347-
}
348337
349338
tags {
350339
Name = "image-crawler-monitor-${var.environment}"
@@ -354,14 +343,6 @@ resource "aws_instance" "crawler-monitor" {
354343
"cc:purpose" = "Image crawler monitor"
355344
"cc:team" = "cc-search"
356345
}
357-
volume_tags {
358-
Name = "image-crawler-monitor-${var.environment}"
359-
environment = "${var.environment}"
360-
"cc:environment" = "${var.environment == "dev" ? "staging" : "production"}"
361-
"cc:product" = "cccatalog-api"
362-
"cc:purpose" = "Image crawler monitor"
363-
"cc:team" = "cc-search"
364-
}
365346
}
366347
```
367348

0 commit comments

Comments
 (0)