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

[WIP] Terraform GKE Config #306

Open
wants to merge 1 commit into
base: master
from

Conversation

@cblecker
Copy link
Member

commented Jul 11, 2019

Prerequisites:

Instructions:

credentials "app.terraform.io" {
  token = "XXXX"
}
  • Clone branch, cd into k8s-tf-cluster/ folder
  • terraform plan will print changes needed to create cluster
  • terraform apply will apply them
  • terraform destroy will destroy and clean up all created resources
@k8s-ci-robot

This comment has been minimized.

Copy link
Contributor

commented Jul 11, 2019

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign cblecker
You can assign the PR to them by writing /assign @cblecker in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@@ -0,0 +1,47 @@
FROM alpine:3.9 as installer

This comment has been minimized.

Copy link
@listx

listx Jul 11, 2019

Contributor

A big part of me wishes that we build deterministic Docker images with Bazel, since all we're doing is extracting a known zip and just setting some ENV vars.

But I'm fine with a Dockerfiles for now.

}

data "google_container_engine_versions" "us-central1" {
project = data.google_project.project.id

This comment has been minimized.

Copy link
@ameukam

ameukam Jul 17, 2019

Contributor

Based on the doc, there is no attribute id. Is terraform trying to extract this information from the GCP API ?

This comment has been minimized.

Copy link
@cblecker

cblecker Jul 17, 2019

Author Member

Docs are inaccurate. Using a data resource for this confirms that A) the project exists and B) that you have access to that project.

This value is computed to the GCP project ID (e.g. k8s-infra-dev-cluster-turnup).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.