项目作者: terraform-kafka

项目描述 :
Terraform module help to create AWS multi-AZ subnets
高级语言: HCL
项目地址: git://github.com/terraform-kafka/terraform-aws-multi-az-subnets.git
创建时间: 2018-08-26T20:56:46Z
项目社区:https://github.com/terraform-kafka/terraform-aws-multi-az-subnets

开源协议:Apache License 2.0

下载


Terraform Module: AWS Multi-AZ Subnets

This repository is a Terraform Module to use create multi-AZ AWS subnets.

Table of Contents

Requirements

This module requires Terraform version 0.10.x or newer.

Usage

Add the module to your Terraform resources:

  1. module "zookeeper-subnets" {
  2. source = "github.com/terraform-kafka/terraform-aws-multi-az-subnets?ref=v0.0.1"
  3. name = "broker-zookeeper-group"
  4. vpc_id = "vpc-2f09a348"
  5. cidr_blocks = [
  6. "172.20.132.0/27",
  7. "172.20.132.32/27",
  8. "172.20.132.64/27",
  9. ]
  10. }

Load the module using terraform get and apply using terraform apply.

Module Variables

Available variables are listed below, along with their default values:

variable description
name The prefix name for subnets.
vpc_id The VPC where subnets are allocated.
cidr_blocks List of CIDR blocks to allocate on the VPC.
zones List of AZ used to create the subnets.
tags Extra tags to add on the created subnets.

Module Outputs

Available outputs are listed below, along with their description:

output description
subnet_ids List of created subnet ids
subnet_cidr List of created subnet cidr

Maintainers

This module is currently maintained by the individuals listed below.