adding readme for guardduty and moving into new security dir

ctalarms-whitelist
lalanza808 4 years ago
parent c73d2ccf88
commit c5f02c620d

@ -0,0 +1,22 @@
# Guard Duty
This modules sets up Guard Duty in the given regions.
https://aws.amazon.com/guardduty/
## Usage
```
module "guardduty" {
source = "github.com/lalanza808/tf-modules.git/security/guardduty/"
}
```
## Inputs
You don't need to provide any inputs, but you can override all of the defaults.
* `prefix` - string
* `tags` - map `{"key": "value"}`
See the full list of inputs here: [variables.tf](./variables.tf)

@ -1,7 +1,5 @@
data "aws_caller_identity" "current" {}
data "aws_region" "current" {}
data "local_file" "guardduty_cft" {
filename = "${path.module}/files/guardduty.yaml"
}

@ -1,6 +1,6 @@
variable "regions" {
description = "Which regions to deploy Guard Duty into"
type = "list"
type = list
default = [
"ap-south-1",
"eu-west-3",
@ -27,6 +27,6 @@ variable "tags" {
}
variable "prefix" {
default = ""
default = "security"
description = "String to prefix to all resources"
}
Loading…
Cancel
Save