https://github.com/blackbird-cloud/terraform-aws-cloudwatch-oam
Terraform module to create an AWS CloudWatch OAM
https://github.com/blackbird-cloud/terraform-aws-cloudwatch-oam
aws cloudwatch terraform
Last synced: about 1 month ago
JSON representation
Terraform module to create an AWS CloudWatch OAM
- Host: GitHub
- URL: https://github.com/blackbird-cloud/terraform-aws-cloudwatch-oam
- Owner: blackbird-cloud
- License: apache-2.0
- Created: 2023-06-28T14:56:36.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-05T13:28:04.000Z (over 1 year ago)
- Last Synced: 2025-09-12T05:54:06.292Z (9 months ago)
- Topics: aws, cloudwatch, terraform
- Language: HCL
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform Aws Cloudwatch Oam Module
Terraform module to create an AWS CloudWatch OAM
[](https://blackbird.cloud)
## Example
```hcl
module "sink" {
source = "blackbird-cloud/cloudwatch-oam/aws"
version = "~> 1"
name = "mysink"
organization_id = "o-a1234"
}
```
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.2 |
| [aws](#requirement\_aws) | ~> 5 |
## Providers
| Name | Version |
|------|---------|
| [aws](#provider\_aws) | ~> 5 |
## Resources
| Name | Type |
|------|------|
| [aws_oam_sink.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/oam_sink) | resource |
| [aws_oam_sink_policy.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/oam_sink_policy) | resource |
| [aws_caller_identity.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source |
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [name](#input\_name) | The Name of the Cloudwatch OAM sink. | `string` | n/a | yes |
| [organization\_id](#input\_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](#input\_shared\_resources) | List of data resources to be shared | `list(string)` |
[
"AWS::Logs::LogGroup",
"AWS::CloudWatch::Metric",
"AWS::XRay::Trace"
]
| no |
| [tags](#input\_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](#output\_shared\_resources) | List of data resources to be shared |
| [sink](#output\_sink) | The Cloudwatch OAM Sink |
| [stackset\_template](#output\_stackset\_template) | The AWS Cloudformation Stackset template to use for creating AWS Cloudwatch OAM links. |
## About
We are [Blackbird Cloud](https://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 :point\_right: [terraform modules](https://registry.terraform.io/namespaces/blackbird-cloud)
## Copyright
Copyright © 2017-2025 [Blackbird Cloud](https://blackbird.cloud)