Skip to content
This repository was archived by the owner on Jun 24, 2024. It is now read-only.

Latest commit

 

History

History
28 lines (23 loc) · 1.22 KB

README.md

File metadata and controls

28 lines (23 loc) · 1.22 KB

tf_module_test

This repository provides a Terraform module for AWS networking.

Purpose

Specifically, it contains a basic set of configuration for accessing Amazon Machine Images (AMI).

This is achived by encapsulating following AWS virtual private cloud (VPC) Terraform resources:

Usage

The module can be imported as follows (adapt network cidr and availability zone as needed):

module "networking" {
  source = "github.com/smirta/tf_module_test"
  cidr = "10.0.10.0/24"
  az = "us-west-2a"
}

The modules outputs can be accessed via the following variables:

  • Subnet Id: module.networking.main-subnet-id
  • VPC Id: module.networking.main-vpc-id
  • CIDR of the Subnet: module.networking.showCIDR