GithubHelp home page GithubHelp logo

teleport-terraform-quickstart's Introduction

Teleport Quick Start with Terraform

Are you looking at getting started with Teleport? Are you familiar with HashiCorp Terraform? Then this repository is for you!

Whether you are testing Teleport for your home lab or work environment, or just want to learn something new, the purpose of this repository is to help you get started.

The repository is split into three major components:

  1. Teleport Targets
    • IaC templates to create Teleport targets. This is the infrastructure that you will be accessing behind Teleport and includes SSH servers, Kubernetes clusters, databases and Windows Desktops.
  2. Teleport Clusters
    • IaC templates to stand up the Teleport service itself.
  3. Configuration (Coming soon)
    • IaC templates of Teleport configuration.

Please visit the subdirectories for each component for instructions on how to use the Terraform code within.

teleport-terraform-quickstart's People

Contributors

dgkirkwood avatar stevengravy avatar gerey avatar

Stargazers

 avatar  avatar Alex Vinokurov avatar  avatar  avatar Donghyun Kang avatar

Watchers

James Cloos avatar  avatar

teleport-terraform-quickstart's Issues

The terraform tries to create the resource record set, but the instructions say to create the records ourselves?

Error building changeset: InvalidChangeBatch: [Tried to create resource record set [name='georgetest.teleportdemo.com.', type='A'] but it already exists]

Is the error I get, and this is right because of these instructions

"A domain name which can be used for the public address of your server. This code assumes you have an existing hosted zone on AWS, and DNS records are created using that hosted zone. This proxy also uses Lets Encrypt for certificates, which requires a public DNS address."

so I created those before hand, it doesn't seem like thats required though since it tries to create it for me?

Duplicate policies when running terraform apply

The terraform apply command tries to create IAM Policy proxy-ec2describe and IAM role proxy-ec2_assume. Even though they already exist. Either we should make the above names dynamic or have a check to see if those policies already exist and skip.

pasted the error below.

Error: error creating IAM Policy proxy-ec2decribe: EntityAlreadyExists: A policy called proxy-ec2decribe already exists. Duplicate names are not allowed.
│ status code: 409, request id: 0fe75764-6373-4999-b8cb-7ae7a56421bf

│ with aws_iam_policy.describeinstances,
│ on iam.tf line 1, in resource "aws_iam_policy" "describeinstances":
│ 1: resource "aws_iam_policy" "describeinstances" {



│ Error: failed creating IAM Role (proxy-ec2_assume): EntityAlreadyExists: Role with name proxy-ec2_assume already exists.
│ status code: 409, request id: 71680695-d96f-43ed-b674-5e3466fb1186

│ with aws_iam_role.ec2_assume,
│ on iam.tf line 26, in resource "aws_iam_role" "ec2_assume":
│ 26: resource "aws_iam_role" "ec2_assume" {

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.