Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetch as much config as possible from the keychain #114

Merged
merged 1 commit into from Feb 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 0 additions & 5 deletions macstadium-shared-1/.example.env
@@ -1,7 +1,2 @@
export VSPHERE_USER='foobar'
export VSPHERE_PASSWORD='foobar'
export VSPHERE_SERVER='0.0.0.0'

export TF_VAR_threatstack_key='foobar'
# Change this if your user you SSH with is different than your local user
export TF_VAR_ssh_user="$USER"
10 changes: 9 additions & 1 deletion macstadium-shared-1/main.tf
Expand Up @@ -23,9 +23,17 @@ variable "collectd_vsphere_collectd_network_user" {}
variable "collectd_vsphere_collectd_network_token" {}
variable "fw_ip" {}
variable "fw_snmp_community" {}
variable "vsphere_user" {}
variable "vsphere_password" {}
variable "vsphere_server" {}

provider "aws" {}
provider "vsphere" {}
provider "vsphere" {
user = "${var.vsphere_user}"
password = "${var.vsphere_password}"
vsphere_server = "${var.vsphere_server}"
allow_unverified_ssl = true

This comment was marked as spam.

This comment was marked as spam.

}

module "macstadium_infrastructure" {
source = "../modules/macstadium_infrastructure"
Expand Down