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 'vpc_id=<string>' \
--arg 'cidr_block=<string>' \
--arg 'region=<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 = {
vpc_id = <string>
cidr_block = <string>
region = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
vpc_idstringYesThe ID of the VPC in which to create the subnet.-
cidr_blockstringYesThe IPv4 network range for the subnet, in CIDR notation (e.g., 10.0.0.0/24).-
regionstringYesThe name of the Region.-
credstringYesName for credentials to use. If not provided, the default credentials will be used.default

Outputs

NameDescription
subnetInformation about the subnet that was created.