Skip to content

Commit

Permalink
tweaked
Browse files Browse the repository at this point in the history
  • Loading branch information
sveronneau committed Feb 12, 2018
1 parent 356aae6 commit e6bf06a
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions consul/consul.tf
Original file line number Diff line number Diff line change
@@ -15,15 +15,15 @@ resource "google_compute_instance" "ansible" {

boot_disk {
initialize_params {
image = "ubuntu-1604-xenial-v20170328"
image_family = "ubuntu-1604-lts"
}
}

# # This is where we configure the instance with ansible-playbook
provisioner "local-exec" {
command = "sleep 90; ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -u your_key_username --private-key ./my_private_key -i '${google_compute_instance.ansible.network_interface.0.access_config.0.assigned_nat_ip}', master.yml"
}

network_interface {
network = "default"

2 changes: 1 addition & 1 deletion gke/gke.tf
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ resource "google_container_cluster" "primary" {
# "northamerica-northeast1-c",
# ]

// DONT DO/USE THIS IN PROD
// DONT USE THIS IN PROD
master_auth {
username = "your_username"
password = "your_password"

0 comments on commit e6bf06a

Please sign in to comment.