terraform-aws-modules / terraform-aws-lambda

Terraform module, which takes care of a lot of AWS Lambda/serverless tasks (build dependencies, packages, updates, deployments) in countless combinations 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/lambda/aws
Apache License 2.0
886 stars 656 forks source link

Allow dynamic tagging for existing lambda resources #496

Closed moranimu closed 6 months ago

moranimu commented 10 months ago

I was trying to add tags to an existing lambda function managed by Terraform. During my trials, I saw that it is even impossible to modify a tag.

Having the ability to update/add tags would allow us to better monitor lambdas execution over time and react according to the values of the tags

Currently we are using version 4.2.1 of this module

github-actions[bot] commented 9 months ago

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

moranimu commented 9 months ago

Any update on this issue?

github-actions[bot] commented 8 months ago

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

moranimu commented 8 months ago

Any update on this issue?

github-actions[bot] commented 7 months ago

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

moranimu commented 7 months ago

Any update on this issue?

github-actions[bot] commented 6 months ago

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

moranimu commented 6 months ago

Any update on this issue?

antonbabenko commented 6 months ago

You should be able to specify function_tags and/or tags as shown in the example - https://github.com/terraform-aws-modules/terraform-aws-lambda/blob/master/examples/complete/main.tf#L174-L180

This feature has been supported since day one.

moranimu commented 6 months ago

@antonbabenko we are using tags, I was looking for a way to modify the existing tags.

antonbabenko commented 6 months ago

If the function was created using this module, you should be able to adjust tags. If not, you can import it or recreate using this module.

github-actions[bot] commented 5 months ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.