Terraform sample code to enable GuardDuty and notify GuardDuty findings for all regions
.
├── hgsgtk-dev
└── modules
├── chatbot <- module for AWS Chatbot
└── guardduty <- module for Guard Duty
- install
tfenv
to switch terraform version.
tfenv install 0.13.5
tfenv use 0.13.5
- initialize
terraform init
- setup remote backend
Create an S3 bucket to store the tfstate
terraform apply -var="aws_account_id=<your-account>"
- AWS Chatbot is not included in this code because it is not terraform compliant.