Skip to content

Commit

Permalink
feat: Create an endpoint for GuardDuty.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesiarmes committed Dec 10, 2024
1 parent 72940c9 commit bcdfa09
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
This module sets up a standard VPC with public and private subnets, NAT
gateway(s), service endpoints, and routing.

Creates endpoints for the following services: EC2, S3, SSM
Creates endpoints for the following services: EC2, GuardDuty, S3, SSM

## Usage

Expand All @@ -15,7 +15,7 @@ and private subnets, you could use the following configuration:

```hcl
module "vpc" {
source = "github.com/codeforamerica/tofu-modules-aws-vpc?ref=1.0.0"
source = "github.com/codeforamerica/tofu-modules-aws-vpc?ref=1.1.0"
project = "my-project"
environment = "dev"
Expand Down
5 changes: 5 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,11 @@ module "endpoints" {
subnet_ids = module.vpc.private_subnets
private_dns_enabled = true
},
guardduty = {
service = "guardduty"
tags = { Name = "${local.prefix}-guardduty" }
subnet_ids = module.vpc.private_subnets
}
}

tags = var.tags
Expand Down

0 comments on commit bcdfa09

Please sign in to comment.