Skip to content

Terraform module to create cloudwatch log group

License

Notifications You must be signed in to change notification settings

virsas/terraform_cw_group

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform_cw_group

Terraform module to create cloudwatch log group.

Dependencies

Terraform example

module "cw_cloudtrail" {
  source    = "git::https://github.com/virsas/terraform_cw_group.git?ref=v1.0.0"
  # this is the name of the group
  name      = "/aws/cloudtrail"
  # how long the log should be kept
  retention = 3
  # KMS KEY for group encryption. Required by AWS best practices.
  kmskey    = module.kms-global.arn
}