Skip to content

Instantly share code, notes, and snippets.

View OlegGorj's full-sized avatar
🎯
Focusing

oleggorj OlegGorj

🎯
Focusing
View GitHub Profile
@OlegGorj
OlegGorj / bastion-jumphost.tf
Created March 18, 2018 17:43
Bastion/Jumphost with TF
variable "tag" {}
variable "vpc_id" {}
variable "cidr" {}
variable "region" {}
variable "image" {}
variable "key_name" {}
variable "instance_type" {}
variable "zone_id" {}
variable "domain" {}
variable "zones" {
@OlegGorj
OlegGorj / .travis.yml
Created March 7, 2018 22:52
Terraform validates with Travis CI
language: bash
sudo: required
env:
- tf_version=0.11.3
before_install:
- wget https://releases.hashicorp.com/terraform/${tf_version}/terraform_${tf_version}_linux_amd64.zip -O /tmp/terraform.zip
- sudo unzip -d /usr/local/bin/ /tmp/terraform.zip