library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

NameTypeRequiredDescriptionDefault
region
string
YesThe name of the Region.-
conn
connection.aws
YesName of AWS connection to use. If not provided, the default AWS connection will be used.connection.aws.default
vpc_id
string
YesThe ID of the VPC in which to create the subnet.-
cidr_block
string
YesThe IPv4 network range for the subnet, in CIDR notation (e.g., 10.0.0.0/24).-

Outputs

NameDescription
subnetInformation about the subnet that was created.