Skip to content
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

Ensure the default version of the launch template is updated on when … #30

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mill/audit-worker.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ resource "aws_launch_template" "audit_worker_launch_template" {
vpc_security_group_ids = [aws_security_group.mill_instance.id]
key_name = var.ec2_keypair
user_data = base64encode(templatefile("${path.module}/resources/cloud-init.tpl", merge(local.cloud_init_props, { node_type = "audit-worker" })))
update_default_version = true

block_device_mappings {
device_name = "/dev/sda1"
Expand Down
1 change: 1 addition & 0 deletions mill/bit-report-worker.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ resource "aws_launch_template" "bit_report_worker_launch_template" {
node_type = "bit-report-worker"
max_worker_threads = var.bit_report_max_worker_threads
})))
update_default_version = true

block_device_mappings {
device_name = "/dev/sda1"
Expand Down
2 changes: 1 addition & 1 deletion mill/bit-worker.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ resource "aws_launch_template" "bit_worker_launch_template" {
vpc_security_group_ids = [aws_security_group.mill_instance.id]
key_name = var.ec2_keypair
user_data = base64encode(templatefile("${path.module}/resources/cloud-init.tpl", merge(local.cloud_init_props, { node_type = "bit-worker" })))

update_default_version = true
block_device_mappings {
device_name = "/dev/sda1"
ebs {
Expand Down
1 change: 1 addition & 0 deletions mill/high-priority-dup-worker.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ resource "aws_launch_template" "high_priority_dup_worker_launch_template" {
vpc_security_group_ids = [aws_security_group.mill_instance.id]
key_name = var.ec2_keypair
user_data = base64encode(templatefile("${path.module}/resources/cloud-init.tpl", merge(local.cloud_init_props, { node_type = "dup-worker" })))
update_default_version = true

block_device_mappings {
device_name = "/dev/sda1"
Expand Down
1 change: 1 addition & 0 deletions mill/low-priority-dup-worker.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ resource "aws_launch_template" "low_priority_dup_worker_launch_template" {
vpc_security_group_ids = [aws_security_group.mill_instance.id]
key_name = var.ec2_keypair
user_data = base64encode(templatefile("${path.module}/resources/cloud-init.tpl", merge(local.cloud_init_props, { node_type = "dup-worker" })))
update_default_version = true

block_device_mappings {
device_name = "/dev/sda1"
Expand Down
1 change: 1 addition & 0 deletions mill/sentinel.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ resource "aws_launch_template" "sentinel_launch_template" {
vpc_security_group_ids = [aws_security_group.mill_instance.id]
key_name = var.ec2_keypair
user_data = base64encode(templatefile("${path.module}/resources/cloud-init.tpl", merge(local.cloud_init_props, { node_type = "sentinel" })))
update_default_version = true

block_device_mappings {
device_name = "/dev/sda1"
Expand Down
1 change: 1 addition & 0 deletions mill/storage-stats-worker.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ resource "aws_launch_template" "storage_stats_worker_launch_template" {
vpc_security_group_ids = [aws_security_group.mill_instance.id]
key_name = var.ec2_keypair
user_data = base64encode(templatefile("${path.module}/resources/cloud-init.tpl", merge(local.cloud_init_props, { node_type = "storage_stats-worker" })))
update_default_version = true

block_device_mappings {
device_name = "/dev/sda1"
Expand Down
Loading