standard
turbot/aws_compliance
Get Involved
Version
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
Name | Type | Required | Description | Default |
---|---|---|---|---|
region | string | Yes | AWS Region of the resource(s). | - |
conn | connection.aws | Yes | Name of the AWS connection to be used for any authenticated actions. | - |
group_id | string | Yes | The ID of the security group. | - |
protocol | string | Yes | The protocol for the rule (e.g., tcp, udp, icmp). | tcp |
port_range | string | Yes | The port or port range for the rule (e.g., 80, 22-80). | 80 |
cidr_block | string | Yes | The CIDR block for the rule (e.g., 0.0.0.0/0). | 0.0.0.0/0 |
egress_cidr_block | string | Yes | The CIDR block for egress traffic. | 0.0.0.0/0 |
Outputs
Name | Description |
---|---|
ingress_status | The result of creating the ingress rule. |
egress_status | The result of creating the egress rule. |
Tags
folder = Internal