Difference between revisions of "Terraform resource: aws cloudformation stack"

From wikieduonline
Jump to navigation Jump to search
(Created page with " {{tf cloudformation}}")
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
  
 +
# Use the Datadog Forwarder to ship logs from S3 and CloudWatch, as well as observability data from Lambda functions to Datadog. For more information, see
 +
https://github.com/DataDog/datadog-serverless-functions/tree/master/aws/logs_monitoring
 +
resource "aws_cloudformation_stack" "datadog_forwarder" {
 +
  name        = "datadog-forwarder"
 +
  capabilities = ["CAPABILITY_IAM", "CAPABILITY_NAMED_IAM", "CAPABILITY_AUTO_EXPAND"]
 +
  parameters  = {
 +
    DdApiKeySecretArn  = "REPLACE ME WITH THE SECRETS ARN",
 +
    DdSite            = "<SITE>",
 +
    FunctionName      = "datadog-forwarder"
 +
  }
 +
  [[template_url]] = "https://datadog-cloudformation-template.s3.amazonaws.com/aws/forwarder/latest.yaml"
 +
}
  
{{tf cloudformation}}
+
 
 +
== Related ==
 +
[[arn:aws:iam::aws:policy/service-role]]
 +
 
 +
== See also ==
 +
* {{tf cloudformation}}
 +
 
 +
[[Category:Terraform]]

Latest revision as of 15:01, 25 June 2024


# Use the Datadog Forwarder to ship logs from S3 and CloudWatch, as well as observability data from Lambda functions to Datadog. For more information, see 
https://github.com/DataDog/datadog-serverless-functions/tree/master/aws/logs_monitoring
resource "aws_cloudformation_stack" "datadog_forwarder" {
 name         = "datadog-forwarder"
 capabilities = ["CAPABILITY_IAM", "CAPABILITY_NAMED_IAM", "CAPABILITY_AUTO_EXPAND"]
 parameters   = {
   DdApiKeySecretArn  = "REPLACE ME WITH THE SECRETS ARN",
   DdSite             = "<SITE>",
   FunctionName       = "datadog-forwarder"
 }
 template_url = "https://datadog-cloudformation-template.s3.amazonaws.com/aws/forwarder/latest.yaml"
}


Related[edit]

arn:aws:iam::aws:policy/service-role

See also[edit]

Advertising: