1
0

initial commit

This commit is contained in:
xpk
2026-02-13 15:44:24 +08:00
parent 66be8224f4
commit 09ce4c881a
570 changed files with 61807 additions and 0 deletions
@@ -0,0 +1,17 @@
# Overview
This module performs the following tasks:
- Enable AWS config
- Create AWS config files for CIS benchmark
- Create s3 bucket for config use
## Inputs:
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:-----:|
| application | name of application | string | none | yes |
| environment | capacity of environment (prd/dev/lab) | string | none | yes |
| customer-name | owner of aws resources | string | none | yes |
| project | name of project | string | none | yes |
| default-tags | tags to be added to resources | list | none | yes |
| aws-region-short | short name of aws region (e.g. apne1) | string | none | yes |
@@ -0,0 +1,8 @@
data aws_caller_identity this {}
resource aws_guardduty_detector gd {
enable = true
finding_publishing_frequency = "ONE_HOUR"
tags = var.default-tags
}
@@ -0,0 +1,3 @@
output guardduty-arn {
value = aws_guardduty_detector.gd.arn
}
@@ -0,0 +1 @@
variable "default-tags" {}