standard
turbot/aws_compliance

Pipeline: Create VPC Security Group Rules

Creates ingress and egress rules for a security group.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws_compliance.pipeline.create_vpc_security_group_rules \
--arg 'region=<string>' \
--arg 'conn=<connection.aws>' \
--arg 'group_id=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = aws_compliance.pipeline.create_vpc_security_group_rules
args = {
region = <string>
conn = <connection.aws>
group_id = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
region
string
YesAWS Region of the resource(s).-
conn
connection.aws
YesName of the AWS connection to be used for any authenticated actions.-
group_id
string
YesThe ID of the security group.-
protocol
string
YesThe protocol for the rule (e.g., tcp, udp, icmp).tcp
port_range
string
YesThe port or port range for the rule (e.g., 80, 22-80).80
cidr_block
string
YesThe CIDR block for the rule (e.g., 0.0.0.0/0).0.0.0.0/0
egress_cidr_block
string
YesThe CIDR block for egress traffic.0.0.0.0/0

Outputs

NameDescription
ingress_statusThe result of creating the ingress rule.
egress_statusThe result of creating the egress rule.

Tags

folder = Internal