Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ Configure providers for collection using the Terraform source-module.
# access_id = var.sumologic_access_id
# access_key = var.sumologic_access_key
# environment = var.sumologic_environment
# aws_resource_tags = var.aws_resource_tags
#}
```

Expand Down Expand Up @@ -440,6 +441,7 @@ Configure providers for collection using the Terraform source-module.
access_id = var.sumologic_access_id
access_key = var.sumologic_access_key
environment = var.sumologic_environment
aws_resource_tags = var.aws_resource_tags

}
```
Expand All @@ -462,6 +464,7 @@ module "production-us-east-1" {
access_id = var.sumologic_access_id
access_key = var.sumologic_access_key
environment = var.sumologic_environment
aws_resource_tags = var.aws_resource_tags
}

module "production-us-east-2" {
Expand All @@ -472,7 +475,8 @@ module "production-us-east-2" {
sumologic_organization_id = var.sumologic_organization_id
access_id = var.sumologic_access_id
access_key = var.sumologic_access_key
environment = var.sumologic_environment
environment = var.sumologic_environment
aws_resource_tags = var.aws_resource_tags

# Use the same collector created for the first region of the production account.
sumologic_existing_collector_details = {
Expand Down Expand Up @@ -502,6 +506,7 @@ module "production-us-east-1" {
access_id = var.sumologic_access_id
access_key = var.sumologic_access_key
environment = var.sumologic_environment
aws_resource_tags = var.aws_resource_tags
}

module "production-us-east-2" {
Expand All @@ -513,6 +518,7 @@ module "production-us-east-2" {
access_id = var.sumologic_access_id
access_key = var.sumologic_access_key
environment = var.sumologic_environment
aws_resource_tags = var.aws_resource_tags

# Use the same collector created for the first region of the production account.
sumologic_existing_collector_details = {
Expand All @@ -530,6 +536,7 @@ module "development-us-west-1" {
access_id = var.sumologic_access_id
access_key = var.sumologic_access_key
environment = var.sumologic_environment
aws_resource_tags = var.aws_resource_tags
}
```

Expand Down Expand Up @@ -592,6 +599,7 @@ module "collection-module" {
access_id = var.sumologic_access_id
access_key = var.sumologic_access_key
environment = var.sumologic_environment
aws_resource_tags = var.aws_resource_tags
}
```

Expand Down Expand Up @@ -623,8 +631,15 @@ module "collection-module" {
}
fields = {}
}
aws_resource_tags = {
env = "prod"
author = "sumologic"
}
}
```
:::note
aws_resource_tags is a map of tags that will be applied to all AWS resources provisioned through the AWS Observability Solution, except for SAM nested sources, which are not tagged.
:::

**Override Example 2: Override the auto_enable_access_logs parameter**

Expand All @@ -639,6 +654,7 @@ module "collection-module" {
access_key = var.sumologic_access_key
environment = var.sumologic_environment
auto_enable_access_logs = None
aws_resource_tags = var.aws_resource_tags
}
```

Expand Down