Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Create an endpoint for GuardDuty. #4

Merged
merged 3 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
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
6 changes: 6 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,12 @@ module "endpoints" {
subnet_ids = module.vpc.private_subnets
private_dns_enabled = true
},
guardduty = {
service = "guardduty-data"
tags = { Name = "${local.prefix}-guardduty" }
subnet_ids = module.vpc.private_subnets
private_dns_enabled = true
}
}

tags = var.tags
Expand Down
Loading