Skip to content

Commit

Permalink
local tests work now
Browse files Browse the repository at this point in the history
  • Loading branch information
Miles Matthias committed Oct 22, 2019
1 parent 4a4c1d5 commit 67604ca
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# Make will use bash instead of sh
SHELL := /usr/bin/env bash

GCLOUD_SDK_VERSION:=267.0.0
GCLOUD_SDK_VERSION:=268.0.0
DOCKER_TAG_VERSION_DEVELOPER_TOOLS := 0.1.0
DOCKER_IMAGE_DEVELOPER_TOOLS := cft/developer-tools
REGISTRY_URL := gcr.io/cloud-foundation-cicd
Expand Down
Binary file modified cache/darwin/google-cloud-sdk.tar.gz
Binary file not shown.
Binary file modified cache/linux/google-cloud-sdk.tar.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions examples/simple_example/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ resource "null_resource" "gcloud_enable_youtube" {

provisioner "local-exec" {
when = create
command = "${module.cli.gcloud} services enable youtube.googleapis.com"
command = "${module.cli.gcloud} services enable youtube.googleapis.com --project ${var.project_id}"
}

provisioner "local-exec" {
when = destroy
command = "${module.cli.gcloud} services disable youtube.googleapis.com"
command = "${module.cli.gcloud} services disable youtube.googleapis.com --project ${var.project_id}"
}
}
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ resource "null_resource" "upgrade" {

provisioner "local-exec" {
when = create
command = "${local.gcloud} components update"
command = "${local.gcloud} components update --quiet"
}

provisioner "local-exec" {
Expand All @@ -75,7 +75,7 @@ resource "null_resource" "additional_components" {

provisioner "local-exec" {
when = create
command = "${local.gcloud} components install ${local.components} -q"
command = "${local.gcloud} components install ${local.components} --quiet"
}

provisioner "local-exec" {
Expand Down

0 comments on commit 67604ca

Please sign in to comment.