Skip to content

Commit f7c9220

Browse files
authored
feat: Create an endpoint for GuardDuty. (#4)
1 parent 72940c9 commit f7c9220

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
This module sets up a standard VPC with public and private subnets, NAT
66
gateway(s), service endpoints, and routing.
77

8-
Creates endpoints for the following services: EC2, S3, SSM
8+
Creates endpoints for the following services: EC2, GuardDuty, S3, SSM
99

1010
## Usage
1111

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

1616
```hcl
1717
module "vpc" {
18-
source = "github.com/codeforamerica/tofu-modules-aws-vpc?ref=1.0.0"
18+
source = "github.com/codeforamerica/tofu-modules-aws-vpc?ref=1.1.0"
1919
2020
project = "my-project"
2121
environment = "dev"

main.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,12 @@ module "endpoints" {
171171
subnet_ids = module.vpc.private_subnets
172172
private_dns_enabled = true
173173
},
174+
guardduty = {
175+
service = "guardduty-data"
176+
tags = { Name = "${local.prefix}-guardduty" }
177+
subnet_ids = module.vpc.private_subnets
178+
private_dns_enabled = true
179+
}
174180
}
175181

176182
tags = var.tags

0 commit comments

Comments
 (0)