Skip to content

Allow custom tags to be added to a specific lambda function #35

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

Merged
merged 1 commit into from
Sep 12, 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
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,6 @@ module "lambda" {
logging_system_log_level = var.logging_system_log_level

event_source_mapping = var.event_source_mapping
tags = var.tags
function_tags = var.function_tags
}
12 changes: 12 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -445,3 +445,15 @@ variable "cf_distribution_id" {
type = string
default = null
}

variable "tags" {
description = "A map of tags to assign to resources."
type = map(string)
default = {}
}

variable "function_tags" {
description = "A map of tags to assign only to the lambda function"
type = map(string)
default = {}
}
Loading