Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 792 Bytes

README.md

File metadata and controls

44 lines (28 loc) · 792 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 = [...]
}

Requirements

Name Version
aws < 3.0.0

Providers

Name Version
aws < 3.0.0

Inputs

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

Outputs

No output.