From f5cb51ecccbd5e9aa3e125c831b9044d117d494f Mon Sep 17 00:00:00 2001 From: Pedro Mastelaro Date: Thu, 26 Feb 2026 13:46:48 -0300 Subject: [PATCH 1/2] Update aws-lambda-deployments.md --- .../aws/aws-lambda-deployments.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/continuous-delivery/deploy-srv-diff-platforms/aws/aws-lambda-deployments.md b/docs/continuous-delivery/deploy-srv-diff-platforms/aws/aws-lambda-deployments.md index 96dc998757e..3e552ce0345 100644 --- a/docs/continuous-delivery/deploy-srv-diff-platforms/aws/aws-lambda-deployments.md +++ b/docs/continuous-delivery/deploy-srv-diff-platforms/aws/aws-lambda-deployments.md @@ -209,11 +209,21 @@ Secrets are not supported for the `functionName` field in `function.json`. This **Harness Support for Tag Management** :::note -Currently, the tag management feature is behind the feature flag `CDS_AWS_LAMBDA_ECS_TAG_SUPPORT`. Contact [Harness Support](mailto:support@harness.io) to enable the feature. +Tag management for AWS Lambda deployments is controlled by the feature flag CDS_AWS_LAMBDA_ECS_TAG_SUPPORT. Availability can vary by account. Contact [Harness Support](mailto:support@harness.io) if you need this feature enabled or disabled. ::: Harness supports managing AWS Lambda function tags, allowing users to create, update, and delete tags as part of their function definition. Tags help with resource organization, cost allocation, and security policies. +::: +Tag reconciliation behavior (when tag management is enabled): +- If tags are provided in the function definition, Harness applies them as part of the deployment. +- If tags are omitted from the function definition, Harness may treat this as no desired tags and can remove/clear existing tags on the target Lambda function. + +If you manage tags externally (for example, Terraform) and want deployments to be tag-neutral, either: +- include the full desired tag set under tags in the function definition, or +- request disabling CDS_AWS_LAMBDA_ECS_TAG_SUPPORT for your account. +::: + The minimal requirements for an AWS Lambda function definition are: - Function Name (`FunctionName`): A unique name for your Lambda function. From 585dfa05bad402fa4adf795dc9da272974c4b420 Mon Sep 17 00:00:00 2001 From: Pedro Mastelaro Date: Thu, 26 Feb 2026 18:06:15 -0300 Subject: [PATCH 2/2] Update aws-lambda-deployments.md --- .../deploy-srv-diff-platforms/aws/aws-lambda-deployments.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/continuous-delivery/deploy-srv-diff-platforms/aws/aws-lambda-deployments.md b/docs/continuous-delivery/deploy-srv-diff-platforms/aws/aws-lambda-deployments.md index 3e552ce0345..9476b697872 100644 --- a/docs/continuous-delivery/deploy-srv-diff-platforms/aws/aws-lambda-deployments.md +++ b/docs/continuous-delivery/deploy-srv-diff-platforms/aws/aws-lambda-deployments.md @@ -209,12 +209,12 @@ Secrets are not supported for the `functionName` field in `function.json`. This **Harness Support for Tag Management** :::note -Tag management for AWS Lambda deployments is controlled by the feature flag CDS_AWS_LAMBDA_ECS_TAG_SUPPORT. Availability can vary by account. Contact [Harness Support](mailto:support@harness.io) if you need this feature enabled or disabled. +Tag management for AWS Lambda deployments is controlled by the feature flag `CDS_AWS_LAMBDA_ECS_TAG_SUPPORT`. Availability can vary by account. Contact [Harness Support](mailto:support@harness.io) if you need this feature enabled or disabled. ::: Harness supports managing AWS Lambda function tags, allowing users to create, update, and delete tags as part of their function definition. Tags help with resource organization, cost allocation, and security policies. -::: +:::info Tag reconciliation behavior (when tag management is enabled): - If tags are provided in the function definition, Harness applies them as part of the deployment. - If tags are omitted from the function definition, Harness may treat this as no desired tags and can remove/clear existing tags on the target Lambda function.