This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am dannietjoh on github. | |
* I am dbinkhuysen (https://keybase.io/dbinkhuysen) on keybase. | |
* I have a public key ASABwnFMvCQD-66wUdVL9KgPJdfJ4ngYaFmneaM48xYWBgo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"log" | |
"github.com/tidwall/buntdb" | |
) | |
var dbFile = "data.db" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/veandco/go-sdl2/sdl" | |
) | |
const winWith, winHight int = 800, 600 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Switched to environment test-centos-7.3! | |
2017/04/13 18:35:08 [INFO] Terraform version: 0.9.3 1601af7a076fd03fe940455db7fd01dfa747c795 | |
2017/04/13 18:35:08 [INFO] Go runtime version: go1.8 | |
2017/04/13 18:35:08 [INFO] CLI args: []string{"/opt/terraform/terraform_0.9.3/terraform", "apply", "-backup=-", "-var-file=vsphere-vm/variables/_commons.tfvars", "-var-file=vsphere-vm/variables/test-centos-7.3.tfvars", "-var", "region=lan", "-var", "os=centos", "-var", "os_version=7.3", "-var", "hostname=test", "vsphere-vm"} | |
2017/04/13 18:35:08 [DEBUG] Detected home directory from env var: /home/daan | |
2017/04/13 18:35:08 [DEBUG] Detected home directory from env var: /home/daan | |
2017/04/13 18:35:08 [DEBUG] Attempting to open CLI config file: /home/daan/.terraformrc | |
2017/04/13 18:35:08 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2017/04/13 18:35:08 [DEBUG] Detected home directory from env var: /home/daan | |
2017/04/13 18:35:08 [INFO] CLI command args: []string{"apply", "-backup=-", "-var-file=vsphere-vm/variables/_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: help check-aws_account check-region check-tenant check-env check-setup all setup plan refresh apply destroy | |
SHELL := $(SHELL) -e | |
export AWS_PROFILE=$(aws_account) | |
export AWS_DEFAULT_REGION=$(region) | |
TF_BUCKET = "somebucketname"-$(aws_account) | |
TF_BUCKET_REGION = "whateverregion" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variable "aws_account" { default = "" } | |
variable "aws_region" { default = "" } | |
variable "aws_access_key" { default = "" } | |
variable "aws_secret_key" { default = "" } | |
variable "development_l1" { default = "" } | |
variable "development_l2" { default = "" } | |
variable "operations_l1" { default = "" } | |
variable "operations_l2" { default = "" } | |
# setup AWS provider |