iam-manager
iam-manager copied to clipboard
Create CFN template for CloudWatch Rule and Lambda
Is this a BUG REPORT or FEATURE REQUEST?: FEATURE REQUEST
What happened: For iam-manager role Lambda, we need a way to install Lambda as well as the Cloud Watch rule which triggers Lambda as part of CFN(Cloud Formation) Template.
Sample Event Rule:
{
"source": [
"aws.iam"
],
"detail-type": [
"AWS API Call via CloudTrail"
],
"detail": {
"eventSource": [
"iam.amazonaws.com"
],
"userIdentity": {
"arn": [
"arn:aws:sts::123456789012:assumed-role/k8s-iam-manager-role"
]
}
}
What you expected to happen: Lambda and Cloud Watch event rule must be created just using CFN template
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
- iam-manager version
- Kubernetes version :
$ kubectl version -o yaml
Other debugging information (if applicable):
- controller logs:
$ kubectl logs