Coder Social home page Coder Social logo

terraform-aws-tgw-lab's People

Contributors

jaydenaung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

terraform-aws-tgw-lab's Issues

issues with running the "version = "~> 2.61.0"

Hey Hayden,
Hope all is well.
After your linkedin intro, I couldn't resist using your template and integrate it with the CP Geo cluster.
Found a few issues though:

version = "~> 2.61.0" within the provider block is deprecated, so I added another provider block.
Added also credentials to complete, I know this is not very secure but for demo it should be fine.
all variables start with "yourxxx"

Update the variables according to your requirement!

terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 2.61.0"
}
}
}

variable "project_name" {
description = "Project Name - will prefix all generated AWS resource names"
default = "tgwlab"
}

provider "aws" {
profile = "default"
region = var.region
access_key = "youraccesskey"
secret_key = "yoursecretkey"
}

variable "region" {
default = "yourregion"
}

data "aws_availability_zones" "azs" {
}

variable "edge_sg_vpc_cidr" {
description = "Edge VPC CIDR"
default = "10.7.0.0/16"
}

variable "spoke_1_sg_vpc_cidr" {
description = "Spoke VPC 1 CIDR"
default = "10.10.0.0/16"
}

variable "spoke_2_sg_vpc_cidr" {
description = "Spoke VPC 2 CIDR"
default = "10.20.0.0/16"
}

variable "key_name" {
description = "SSH Key Pair"
default = "yourkey"
}

variable "ubuntu_20_ami_sg" {
description = "Ubuntu AMI ID 18.04"
default = "yourami-id"
}

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.