GithubHelp home page GithubHelp logo

asmtal / route53resolver-endpoint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from karl-cardenas-coding/route53resolver-endpoint

0.0 0.0 0.0 8 KB

A Terraform module for creating route53resolver endpoints using the awscli - for demo purposes

HCL 100.00%

route53resolver-endpoint's Introduction

Route53Resolver Endpoint

This module creates a route53 resolver endpoint. The module leverages the aws cli, so it's important you have the aws cli ~/.aws/config populated. Note: This module does not create the route53 resolver rule required to associate an endpoint to outbound VPC traffic.

Inputs
Name Description Default Type Required
direction The direction of the resolver endpoint - string yes
subnet-ids The subnet ids for the endpoint to be applied to - list yes
security-groups The security groups to be applied - list yes
ip-addresses The ip address for the endpoins to leverage, 1 per subnet - list yes
endpoint-name The name of the endpoint - string yes
aws-profile The aws profile name to use - string yes
delete This will delete the endpoint created false string no
tags The tags to apply for the endpoint - string yes
Outputs
Name Description
aws-cli-output The aws cli output from the command
endpoint-id The resolver endpoint ID

Usage Example:

module "route53resolver-endpoint" {
  direction       = "INBOUND"
  security-groups = "sg-123456789 sg-abcdefg"
  subnet-ids      = ["subnet-123456789asaf", "subnet-123456789asaf"]
  ip-addresses    = ["10.1.1.111", "10.1.2.111"]
  endpoint-name   = "terraform-testing"
  profile         = "test-env"
  tags            = "Key=Owner,Value=admin
}


output "cli-output" {
  value = "${module.route53resolver-endpoint.aws-cli-output}"
}

output "resolver-id" {
  value = "${module.route53resolver-endpoint.endpoint-id}"
}

route53resolver-endpoint's People

Contributors

karl-cardenas-coding avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.