Skip to content
This repository has been archived by the owner on May 19, 2021. It is now read-only.

Latest commit

 

History

History
28 lines (18 loc) · 611 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 611 Bytes

AWS IAM policy to allow cloudwatch logs

This will create a policy that allows writing to cloudwatch logs and attach it to the supplied role.

Example

module "policy" {
  source = "github.com/chanzuckerberg/cztack/aws-iam-policy-cwlogs?ref=v0.14.0"


  iam_path        = "..."
  target_role     = "..."

  depends_on = [...]
}

Inputs

Name Description Type Default Required
iam_path string "/" no
role_name The role to which this policy should be attached. string n/a yes