Skip to content
Open
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
2 changes: 1 addition & 1 deletion modules/ami-housekeeper/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "aws_lambda_function" "ami_housekeeper" {
LOG_LEVEL = var.log_level
POWERTOOLS_LOGGER_LOG_EVENT = var.log_level == "debug" ? "true" : "false"
AMI_CLEANUP_OPTIONS = jsonencode(var.cleanup_config)
POWERTOOLS_SERVICE_NAME = "ami-housekeeper"
POWERTOOLS_SERVICE_NAME = "${var.prefix}-ami-housekeeper"
POWERTOOLS_TRACE_ENABLED = var.tracing_config.mode != null ? true : false
POWERTOOLS_TRACER_CAPTURE_HTTPS_REQUESTS = var.tracing_config.capture_http_requests
POWERTOOLS_TRACER_CAPTURE_ERROR = var.tracing_config.capture_error
Expand Down
2 changes: 1 addition & 1 deletion modules/runners/pool/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ resource "aws_lambda_function" "pool" {
SSM_TOKEN_PATH = var.config.ssm_token_path
SSM_CONFIG_PATH = var.config.ssm_config_path
SUBNET_IDS = join(",", var.config.subnet_ids)
POWERTOOLS_SERVICE_NAME = "runners-pool"
POWERTOOLS_SERVICE_NAME = "${var.config.prefix}-pool"
POWERTOOLS_TRACE_ENABLED = var.tracing_config.mode != null ? true : false
POWERTOOLS_TRACER_CAPTURE_HTTPS_REQUESTS = var.tracing_config.capture_http_requests
POWERTOOLS_TRACER_CAPTURE_ERROR = var.tracing_config.capture_error
Expand Down
2 changes: 1 addition & 1 deletion modules/runners/scale-down.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ resource "aws_lambda_function" "scale_down" {
POWERTOOLS_LOGGER_LOG_EVENT = var.log_level == "debug" ? "true" : "false"
RUNNER_BOOT_TIME_IN_MINUTES = var.runner_boot_time_in_minutes
SCALE_DOWN_CONFIG = jsonencode(var.idle_config)
POWERTOOLS_SERVICE_NAME = "runners-scale-down"
POWERTOOLS_SERVICE_NAME = "${var.prefix}-scale-down"
POWERTOOLS_METRICS_NAMESPACE = var.metrics.namespace
POWERTOOLS_TRACE_ENABLED = var.tracing_config.mode != null ? true : false
POWERTOOLS_TRACER_CAPTURE_HTTPS_REQUESTS = var.tracing_config.capture_http_requests
Expand Down
2 changes: 1 addition & 1 deletion modules/runners/scale-up.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ resource "aws_lambda_function" "scale_up" {
RUNNER_GROUP_NAME = var.runner_group_name
RUNNER_NAME_PREFIX = var.runner_name_prefix
RUNNERS_MAXIMUM_COUNT = var.runners_maximum_count
POWERTOOLS_SERVICE_NAME = "runners-scale-up"
POWERTOOLS_SERVICE_NAME = "${var.prefix}-scale-up"
SSM_TOKEN_PATH = local.token_path
SSM_CONFIG_PATH = "${var.ssm_paths.root}/${var.ssm_paths.config}"
SUBNET_IDS = join(",", var.subnet_ids)
Expand Down
2 changes: 1 addition & 1 deletion modules/runners/ssm-housekeeper.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ resource "aws_lambda_function" "ssm_housekeeper" {
ENVIRONMENT = var.prefix
LOG_LEVEL = var.log_level
SSM_CLEANUP_CONFIG = jsonencode(local.ssm_housekeeper.config)
POWERTOOLS_SERVICE_NAME = "ssm-housekeeper"
POWERTOOLS_SERVICE_NAME = "${var.prefix}-ssm-housekeeper"
POWERTOOLS_TRACE_ENABLED = var.tracing_config.mode != null ? true : false
POWERTOOLS_TRACER_CAPTURE_HTTPS_REQUESTS = var.tracing_config.capture_http_requests
POWERTOOLS_TRACER_CAPTURE_ERROR = var.tracing_config.capture_error
Expand Down
2 changes: 1 addition & 1 deletion modules/webhook/eventbridge/dispatcher.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ resource "aws_lambda_function" "dispatcher" {
for k, v in {
LOG_LEVEL = var.config.log_level
POWERTOOLS_LOGGER_LOG_EVENT = var.config.log_level == "debug" ? "true" : "false"
POWERTOOLS_SERVICE_NAME = "dispatcher"
POWERTOOLS_SERVICE_NAME = "${var.config.prefix}-dispatcher"
POWERTOOLS_TRACE_ENABLED = var.config.tracing_config.mode != null ? true : false
POWERTOOLS_TRACER_CAPTURE_HTTPS_REQUESTS = var.config.tracing_config.capture_http_requests
POWERTOOLS_TRACER_CAPTURE_ERROR = var.config.tracing_config.capture_error
Expand Down
2 changes: 1 addition & 1 deletion modules/webhook/eventbridge/webhook.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ resource "aws_lambda_function" "webhook" {
for k, v in {
LOG_LEVEL = var.config.log_level
POWERTOOLS_LOGGER_LOG_EVENT = var.config.log_level == "debug" ? "true" : "false"
POWERTOOLS_SERVICE_NAME = "webhook"
POWERTOOLS_SERVICE_NAME = "${var.config.prefix}-webhook"
POWERTOOLS_TRACE_ENABLED = var.config.tracing_config.mode != null ? true : false
POWERTOOLS_TRACER_CAPTURE_HTTPS_REQUESTS = var.config.tracing_config.capture_http_requests
POWERTOOLS_TRACER_CAPTURE_ERROR = var.config.tracing_config.capture_error
Expand Down