@ttoss/cloud-vpc

0.1.11 • Public • Published

@ttoss/cloud-vpc

This module provides a set of resources to create a VPC on AWS.

Installation

pnpm install @ttoss/cloud-vpc

Usage

import { createVpcTemplate } from '@ttoss/cloud-vpc';

const cidrBlock = '10.0.0.0/16';

const template = createVpcTemplate({
  cidrBlock,
});

export default template;

API

createVpcTemplate

Creates a VPC template.

Parameters

  • cidrBlock: string - The CIDR block of the VPC.
  • createPublicSubnets: boolean - Whether to create public subnets. Default is true.

Readme

Keywords

Package Sidebar

Install

npm i @ttoss/cloud-vpc

Weekly Downloads

6

Version

0.1.11

License

MIT

Unpacked Size

15.6 kB

Total Files

7

Last publish

Collaborators

  • techtriangulostecnologia
  • pedro-arantes