-
Notifications
You must be signed in to change notification settings - Fork 7
EBS Disk Encryption + Fix an extra log group #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
.terraform | ||
plan | ||
terraform.tfstate | ||
terraform.tfstate.backup | ||
.terraform.lock.hcl | ||
tfplan |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.1.9 | ||
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -73,6 +73,7 @@ resource "aws_security_group" "metrics_access" { | |||||
|
||||||
resource "aws_cloudwatch_log_group" "syslogs" { | ||||||
# TODO: This is hardcoded in the executor image. | ||||||
count = var.need_syslogs ? 1 : 0 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ideally i think we'd pull some of this stuff out into a different module altogether There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was wondering if using a data source to check for existence might work. We don't actually need to create it, that happens automatically when the first log comes in, we just want to configure retention, really. |
||||||
name = "executors" | ||||||
retention_in_days = 7 | ||||||
} | ||||||
|
@@ -113,6 +114,8 @@ resource "aws_launch_template" "executor" { | |||||
volume_type = "gp3" | ||||||
iops = var.boot_disk_iops | ||||||
throughput = var.boot_disk_throughput | ||||||
encrypted = true | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is 💥 if people use this code, so maybe we want to shim this with a var for "false" for awhile? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You mean it would depend on the
Suggested change
to mitigate it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wait, no that can't be it.. we set encryption to true for the docker thing as well 🤔 I'm lost, what do you mean? 😬 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 😅 Nevermind, new instances will just start to get encrypted. I thought this part of an |
||||||
kms_key_id = var.boot_disk_kms_key_id | ||||||
} | ||||||
} | ||||||
|
||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe this is annoying? it makes my life nicer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we usually use
asdf
at sourcegraph which uses.tool-versions
, could that help you, too?