Terraform module for deploying datadog
It adds the SSM commands - you'll need to run them manually. It also sets up the AWS Crawler.
Usage:
module "aws-tf-datadog" {
source = ""
datadog_external_id = ""
datadog_aws_account_id = ""
}
To setup the AWS Crawler for Datadog, you need to:
- Go into Datadog, setup a new AWS Web Services Integration
- Add the Account number in the AWS Account ID Field
- Set the AWS Role name as datadog
- Copy the AWS External ID (generated new each time you set it up) By this time, it's probably complaining it can't assume the role.
- Set that ID as the datadog_external_id and rerun terraform apply
- Once the role is created, set the tag with the account name and anything else you like. It should refresh, confirming connection to AWS
- Finish off by clicking update configuration.