Skip to content

Commit

Permalink
Merge pull request #8 from zoitech/feature/add_guardduty
Browse files Browse the repository at this point in the history
enable guard duty
  • Loading branch information
Geartrixy authored Jul 2, 2018
2 parents cea7c66 + ca239d3 commit 50e8a2f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 9 deletions.
23 changes: 14 additions & 9 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
## 0.0.5 (Unreleased)
## 0.0.6 (Unreleased)

NEW FEATURES:

* Added new policies to prevent users causing huge costs
* Created Changelog.md

* n.a.

BACKWARDS INCOMPATIBILITIES / NOTES:

* n.a.


IMPROVEMENTS:
* n.a.

* formatted tf-files
BUG FIXES:
* n.a.

## 0.0.5

BUG FIXES:
NEW FEATURES:
* Support of GuardDuty (set ```guardduty_enable=1```)

BACKWARDS INCOMPATIBILITIES / NOTES:
* n.a.

IMPROVEMENTS:
* formatted tf-files

BUG FIXES:
* n.a.
4 changes: 4 additions & 0 deletions guardduty.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
resource "aws_guardduty_detector" "main" {
enable = true
count = "${var.guardduty_enable}"
}
5 changes: 5 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,8 @@ variable "create_marketplace_disable_policy" {
description = "Activate (1) or deactivate (0) this policy"
default = "0"
}

variable "guardduty_enable" {
description = "Defines if guardduty should be enabled."
default = 0
}

0 comments on commit 50e8a2f

Please sign in to comment.