Let's create a new "sus" stack.
When the stack is being created, before any resource actions happen, the Lambda Hook is run, fails, and blocks the rest of the operations.
Let's create a new "sus" stack.
When the stack is being created, before any resource actions happen, the Lambda Hook is run, fails, and blocks the rest of the operations.
I'll turn the Hook mode to "FAIL" and I'll update my Lambda function to always fail. In reality, you'd add your own evaluation logic, but for fun, we'll fail everything.
I'll turn the Hook mode to "FAIL" and I'll update my Lambda function to always fail. In reality, you'd add your own evaluation logic, but for fun, we'll fail everything.
Pictured below is the my Hook's Lambda Function's logs:
Pictured below is the my Hook's Lambda Function's logs:
I created a ChangeSet and my Lambda Hook evaluated it & found it to be ✅. Had it failed, the Change Set would be blocked.
I created a ChangeSet and my Lambda Hook evaluated it & found it to be ✅. Had it failed, the Change Set would be blocked.
I've configured my Hook to only WARN if it fails, but you can also hard block the operation.
I've configured my Hook to only WARN if it fails, but you can also hard block the operation.
Traditionally, Hooks could only target CFN Resource operations but starting today, Hooks can also target:
1. Change Set operations
2. Stack Operations
3. Cloud Control API operations
Traditionally, Hooks could only target CFN Resource operations but starting today, Hooks can also target:
1. Change Set operations
2. Stack Operations
3. Cloud Control API operations
To make authoring easier, we're have two new managed hooks, one which can run CFN Guard, and one which simply invokes a Lambda function
To make authoring easier, we're have two new managed hooks, one which can run CFN Guard, and one which simply invokes a Lambda function
This is super useful for making sure that your IaC is configured correctly. No public S3 buckets, no * policies, etc.
This is super useful for making sure that your IaC is configured correctly. No public S3 buckets, no * policies, etc.
(This is the cute 1 lane bridge)
(This is the cute 1 lane bridge)