Skip to content
Discussion options

You must be logged in to vote

it turns out that in eventPattern, it should be 'eventName', not 'event' and 'ModifyVolume'. Look into Event trail json before making a eventPattern.

     eventPattern: {
       "source": ["aws.ec2"],
       "detail": {
         "eventName": ["ModifyVolume"]
       }
     },

Also, script from https://gist.githubusercontent.com/weavenet/5815644/raw/fd283f614cad86abe41cccfc3e7b79eb1b613741/cfn-signal.sh can be used to send signal without installing cloud cfn signals package in ec2 machine.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by amrit073
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant