Comments (2)
Since version 3.0.0, the forwarder can be updated through CloudFormation "Update", which only modifies certain resources (e.g., the function code) and does not recreate the lambda.
Updating from an older version to +3.0.0 does requires a little bit effort, , but the good news is that once you get there, future updates will be "one-click" without interruption. In fact, we migrated from SAM/SAR to CloudFormation to solve this exact problem (customers used to have recreate the lambda to update and manually copy over environment variables).
If you would like to keep the forwarder Lambda's ARN same as the old one, you can set the FunctionName
parameter (available in CFN stack configuration UI) to reuse the existing forwarder's name. I recommend you follow these steps:
- deploy the forwarder with a different name
- migrate a few log subscriptions to it and test throughly
- export the old forwarder as a backup (just in case)
- delete the old forwarder
- update the existing CloudFormation stack and set
FunctionName
to the old forwarder's name
Does this answer your question? If I misunderstood your question, do you mind share extra context and specific requirements with us?
from datadog-serverless-functions.
Hi @tianchu , it answers completely, thanks for the info.
If there is a way to update only the code with 3.0.0+ then it won't affect us at all, unless it has to destroy the lambda, so it's fine!
Thanks for the quick response! Closing issue.
from datadog-serverless-functions.
Related Issues (20)
- Feature Request: Allow 'source' tag to be customized per AWS CloudWatch Log Group HOT 1
- Feature request: Allow option to dynamically set the 'Service' and 'Host' attributes from an AWS CloudWatch log group
- Activate Enhanced Metrics on Datadog Forwarder Lambda function
- Create Terraform module to support the deployment Datadog's Log Forwarder HOT 2
- Feature Request: Support reading API Gateway Access Logs from an S3 bucket HOT 2
- Azure Auditing logs to Datadog through EventGrid streamed incorrectly
- AWS Cloudformation configuration does not allow configuration of DD_LOG_LEVEL
- Feature Request: Datadog Forwarder Cloudformation - configurable Cloudwatch log group storage class
- Add new region `ca-west-1` to Datadog-Forwarder layer HOT 1
- [BUG] DD_TAGS envar no effect
- Bug in parsing.py:get_service_from_tags_and_remove_duplicates()
- AWS S3 Bucket lifecycle rule for aborted multipart uploads
- AWS S3 Securityhub finding about target access-logs bucket not configured HOT 2
- Error: cannot open shared object file: No such file or directory HOT 1
- python runtime >= 3.11 required
- aws-dd-forwarder Timeout error after 3 sec HOT 1
- CloudFormation Stack and Terraform Deployment Issues: Empty `index.py` File
- AWS Datadog forwarder 3.111.0 results in import error HOT 1
- Add TagFiltering Option with the DD Log Forwarder Parameters HOT 2
- AWS log forwarder CloudFormation template intermittently fails to deploy because it can't get the role ARN
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datadog-serverless-functions.