Skip to content

osinfra-io/terraform-datadog-google-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Datadog - Google Cloud Platform Integration Terraform Module

GitHub Actions:

Terraform Tests Dependabot

Infracost:

infracost

💵 Monthly estimates based on Infracost baseline costs.

Repository Description

Terraform example module for Datadog Google Cloud Platform integration.

Note

We do not recommend consuming this module like you might a public module. It is a baseline, something you can fork, potentially maintain, and modify to fit your organization's needs. Using public modules vs. writing your own has various drivers and trade-offs that your organization should evaluate.

🔩 Usage

Tip

You can check the fixtures directory for example configurations. These fixtures set up the system for testing by providing all the necessary initial code, thus creating good examples on which to base your configurations.

Required APIs (managed with the terraform-google-project child module):

  • bigquerydatatransfer.googleapis.com (If enable_cloud_cost_management is true)
  • bigquery.googleapis.com (If enable_cloud_cost_management is true)
  • cloudasset.googleapis.com
  • cloudbilling.googleapis.com
  • cloudresourcemanager.googleapis.com
  • compute.googleapis.com
  • iam.googleapis.com
  • monitoring.googleapis.com

Development

Our focus is on the core fundamental practice of platform engineering, Infrastructure as Code.

Open Source Infrastructure (as Code) is a development model for infrastructure that focuses on open collaboration and applying relative lessons learned from software development practices that organizations can use internally at scale. - Open Source Infrastructure (as Code)

To avoid slowing down stream-aligned teams, we want to open up the possibility for contributions. The Open Source Infrastructure (as Code) model allows team members external to the platform team to contribute with only a slight increase in cognitive load. This section is for developers who want to contribute to this repository, describing the tools used, the skills, and the knowledge required, along with Terraform documentation.

See the documentation for setting up a local development environment here.

🛠️ Tools

📋 Skills and Knowledge

Links to documentation and other resources required to develop and iterate in this repository successfully.

🔍 Tests

You'll need to be a member of the platform-contributors Google Group to run the tests. This group manages access to the resource hierarchy's Testing/Sandbox folder. You can request access to this group by opening an issue here.

cd fixtures/default
terraform init
terraform test -var="api_key=$DATADOG_API_KEY" -var="app_key=$DATADOG_APP_KEY"

📓 Terraform Documentation