Skip to content

blackbird-cloud/terraform-aws-cloudwatch-oam

Repository files navigation

Terraform Aws Cloudwatch Oam Module

Terraform module to create an AWS CloudWatch OAM

blackbird-logo

Example

module "sink" {
  source  = "blackbird-cloud/cloudwatch-oam/aws"
  version = "~> 1"

  name            = "mysink"
  organization_id = "o-a1234"
}

Requirements

Name Version
terraform >= 1.2
aws ~> 5

Providers

Name Version
aws ~> 5

Resources

Name Type
aws_oam_sink.default resource
aws_oam_sink_policy.default resource
aws_caller_identity.default data source

Inputs

Name Description Type Default Required
name The Name of the Cloudwatch OAM sink. string n/a yes
organization_id Your AWS Organization ID, used in the AWS Cloudwatch Sink Access policy to accept incoming Cloudwatch metrics and logs, and XRay traces. string n/a yes
shared_resources List of data resources to be shared list(string)
[
"AWS::Logs::LogGroup",
"AWS::CloudWatch::Metric",
"AWS::XRay::Trace"
]
no
tags A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level. map(string) {} no

Outputs

Name Description
shared_resources List of data resources to be shared
sink The Cloudwatch OAM Sink
stackset_template The AWS Cloudformation Stackset template to use for creating AWS Cloudwatch OAM links.

About

We are Blackbird Cloud, Amsterdam based cloud consultancy, and cloud management service provider. We help companies build secure, cost efficient, and scale-able solutions.

Checkout our other 👉 terraform modules

Copyright

Copyright © 2017-2025 Blackbird Cloud

About

Terraform module to create an AWS CloudWatch OAM

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages