Skip to content

A terraform module for Quortex infrastructure AWS network layer.

License

Notifications You must be signed in to change notification settings

quortex/terraform-aws-network

Repository files navigation

Quortex

terraform-aws-network

A terraform module for Quortex infrastructure EKS network layer.

It provides a set of resources necessary to provision the Kubernetes cluster of the Quortex infrastructure on Amazon AWS, via EKS.

infra_diagram

This module is available on [Terraform Registry][registry_tf_aws-network].

Get all our terraform modules on Terraform Registry or on Github !

Created resources

This module creates the following resources in AWS:

  • a dedicated VPC
  • 2 or more public subnets in different AZ
  • 2 or more private subnets in different AZ
  • an internet gateway
  • route tables
  • a NAT gateway in each public subnet

In addition, if NAT gateways are not provided an EIP allocation id:

  • an Elastic IP for each such NAT gateway

Usage example

module "network" {
  source = "quortex/network/aws"

  name               = "quortexcluster"
  vpc_cidr_block     = "10.0.0.0/16"
  subnets = {
    pub-eu-west-1b = {
      availability_zone = "eu-west-1b"
      cidr              = "10.100.64.0/22"
      public            = true
    }
    pub-eu-west-1c = {
      availability_zone = "eu-west-1c"
      cidr              = "10.100.68.0/22"
      public            = true
    }
    priv-eu-west-1b = {
      availability_zone = "eu-west-1b"
      cidr              = "10.100.96.0/19"
      public            = false
    }
    priv-eu-west-1c = {
      availability_zone = "eu-west-1c"
      cidr              = "10.100.128.0/19"
      public            = false
    }
  }
  nat_gateway = {
    quortex = {
      subnet_key = "pub-eu-west-1b"
    }
  }
}


Related Projects

This project is part of our terraform modules to provision a Quortex infrastructure for AWS.

Check out these related projects.

Help

Got a question?

File a GitHub issue or send us an email.

About

A terraform module for Quortex infrastructure AWS network layer.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages