library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

NameTypeRequiredDefaultDescription
regionstringYes-The name of the Region.
credstringYesdefaultName for credentials to use. If not provided, the default credentials will be used.
vpc_idstringYes-The ID of the VPC in which to create the subnet.
cidr_blockstringYes-The 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.