Amazon EC2 · Arazzo Workflow
Amazon EC2 Harden an Existing Security Group
Version 1.0.0
Look up a security group by name and add a scoped inbound rule to it.
Provider
Workflows
harden-existing-security-group
Resolve a security group and authorize one scoped inbound rule.
Chains DescribeSecurityGroups and AuthorizeSecurityGroupIngress to add a single inbound rule to an already-existing security group.
1
resolveGroup
describeSecurityGroups
Confirm the target security group exists before adding a rule.
2
authorizeRule
authorizeSecurityGroupIngress
Authorize the requested scoped inbound rule on the security group.