library
turbot/aws
Get Involved
Version
Pipeline: Create VPC Subnet
Creates a new subnet in an existing Virtual Private Cloud (VPC) in your AWS account.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run aws.pipeline.create_vpc_subnet \ --arg 'region=<string>' \ --arg 'vpc_id=<string>' \ --arg 'cidr_block=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = aws.pipeline.create_vpc_subnet args = { region = <string> vpc_id = <string> cidr_block = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
region | string | Yes | The name of the Region. | - |
conn | connection.aws | Yes | Name of AWS connection to use. If not provided, the default AWS connection will be used. | connection.aws.default |
vpc_id | string | Yes | The ID of the VPC in which to create the subnet. | - |
cidr_block | string | Yes | The IPv4 network range for the subnet, in CIDR notation (e.g., 10.0.0.0/24). | - |
Outputs
Name | Description |
---|---|
subnet | Information about the subnet that was created. |