Skip to content

Instantly share code, notes, and snippets.

@hervekhg
Created January 17, 2020 16:24
Show Gist options
  • Save hervekhg/aa6086b3263285ded4903d4a9702c105 to your computer and use it in GitHub Desktop.
Save hervekhg/aa6086b3263285ded4903d4a9702c105 to your computer and use it in GitHub Desktop.
resource "aws_cloudwatch_event_target" "target_lambda" {
rule = aws_cloudwatch_event_rule.daily.name
target_id = "enforce_bucket_kms_encryption"
arn = aws_lambda_function.force_bucket_encryption.arn
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment