File tree Expand file tree Collapse file tree 3 files changed +42
-0
lines changed
examples/cloudwatch-log-group-full Expand file tree Collapse file tree 3 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ provider "aws" {
2+ region = " us-east-1"
3+ }
4+
5+
6+ # ##################################################
7+ # Secrets Manager Secret
8+ # ##################################################
9+
10+ module "secret" {
11+ source = " ../../modules/cloudwatch-log-group"
12+ # source = "tedilabs/observability/aws//modules/cloudwatch-log-group"
13+ # version = "~> 0.1.0"
14+
15+ name = " /tedilabs/test"
16+
17+ retention_in_days = 7
18+ encryption_kms_key = null
19+
20+ streams = [
21+ " test-stream-1" ,
22+ " test-stream-2" ,
23+ ]
24+
25+ tags = {
26+ " project" = " terraform-aws-secret-examples"
27+ }
28+ }
Original file line number Diff line number Diff line change 1+ output "secret" {
2+ value = module. secret
3+ sensitive = true
4+ }
Original file line number Diff line number Diff line change 1+ terraform {
2+ required_version = " ~> 1.1"
3+
4+ required_providers {
5+ aws = {
6+ source = " hashicorp/aws"
7+ version = " ~> 4.0"
8+ }
9+ }
10+ }
You can’t perform that action at this time.
0 commit comments