Skip to content

Commit f064706

Browse files
committed
update to examples
1 parent c0b7d2e commit f064706

File tree

5 files changed

+33
-34
lines changed

5 files changed

+33
-34
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,16 +168,16 @@ Modules used:
168168

169169
Example showing how to deploy Helm releases to GKE from Terraform
170170

171-
[![button](http://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/terraform-google-examples&page=editor&tutorial=example-gke-k8s-helm/README.md)
171+
[![button](http://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/terraform-google-examples&working_dir=example-gke-k8s-helm&page=shell&tutorial=README.md)
172172

173173
<a href="https://concourse-tf.gcp.solutions/teams/main/pipelines/tf-examples-gke-k8s-helm" target="_blank">
174174
<img src="https://concourse-tf.gcp.solutions/api/v1/teams/main/pipelines/tf-examples-gke-k8s-helm/badge" /></a>
175175

176176
## [example-gke-k8s-service-lb](https://github.com/GoogleCloudPlatform/terraform-google-examples/tree/master/example-gke-k8s-service-lb)
177177

178-
Example showing how to create a Kubernetes Service tpye LoadBalancer to GKE from Terraform
178+
Example showing how to create a Kubernetes Service type LoadBalancer to GKE from Terraform
179179

180-
[![button](http://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/terraform-google-examples&page=editor&tutorial=example-gke-service-lb/README.md)
180+
[![button](http://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/terraform-google-examples&working_dir=example-gke-k8s-service-lb&page=shell&tutorial=README.md)
181181

182182
<a href="https://concourse-tf.gcp.solutions/teams/main/pipelines/tf-examples-gke-service-lb" target="_blank">
183183
<img src="https://concourse-tf.gcp.solutions/api/v1/teams/main/pipelines/tf-examples-gke-service-lb/badge" /></a>
@@ -186,17 +186,16 @@ Example showing how to create a Kubernetes Service tpye LoadBalancer to GKE from
186186

187187
Example showing how to create an L7 HTTP load balancer across multiple regional GKE clusters.
188188

189-
[![button](http://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/terraform-google-examples&page=editor&tutorial=example-gke-k8s-multi-region/README.md)
189+
[![button](http://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/terraform-google-examples&working_dir=example-gke-k8s-multi-region&page=shell&tutorial=README.md)
190190

191191
<a href="https://concourse-tf.gcp.solutions/teams/main/pipelines/tf-examples-gke-multi-region" target="_blank">
192192
<img src="https://concourse-tf.gcp.solutions/api/v1/teams/main/pipelines/tf-examples-gke-multi-region/badge" /></a>
193193

194194
<img src="https://github.com/GoogleCloudPlatform/terraform-google-examples/raw/master/example-gke-k8s-multi-region/diagram.png" width="800px"></img>
195195

196-
197196
## [example-custom-machine-types](https://github.com/GoogleCloudPlatform/terraform-google-examples/tree/master/example-custom-machine-types)
198197

199-
[![button](http://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/terraform-google-examples&page=editor&tutorial=example-custom-machine-types/README.md)
198+
[![button](http://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/terraform-google-examples&working_dir=example-custom-machine-types&page=shell&tutorial=README.md)
200199

201200
Example showing how to create custom machine types with bastion host and NAT gateway.
202201

example-custom-machine-types/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
# Custom Machine Types
22

3-
[![button](http://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/terraform-google-examples&page=editor&tutorial=example-custom-machine-types/README.md)
3+
[![button](http://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/terraform-google-examples&working_dir=example-custom-machine-types&page=shell&tutorial=README.md)
44

55
This example creates an instance with a custom machine type, a bastion host and a NAT gateway.
66

77
**Figure 1.** *diagram of Google Cloud resources*
88

99
![architecture diagram](./diagram.png)
1010

11-
## Install Terraform
12-
13-
1. Install Terraform if it is not already installed (visit [terraform.io](https://terraform.io) for other distributions):
11+
## Change to the example directory
1412

1513
```
16-
./terraform-install.sh
14+
[[ `basename $PWD` != example-custom-machine-types ]] && cd example-custom-machine-types
1715
```
1816

19-
## Change to the example directory
17+
## Install Terraform
18+
19+
1. Install Terraform if it is not already installed (visit [terraform.io](https://terraform.io) for other distributions):
2020

2121
```
22-
cd example-custom-machine-types/
22+
../terraform-install.sh
2323
```
2424

2525
## Set up the environment

example-gke-k8s-helm/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
# Kubernetes Engine and Helm Example
22

3-
[![button](http://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/terraform-google-examples&page=editor&tutorial=example-gke-k8s-helm/README.md)
3+
[![button](http://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/terraform-google-examples&working_dir=example-gke-k8s-helm&page=shell&tutorial=README.md)
44

55
<a href="https://concourse-tf.gcp.solutions/teams/main/pipelines/tf-examples-gke-k8s-helm" target="_blank">
66
<img src="https://concourse-tf.gcp.solutions/api/v1/teams/main/pipelines/tf-examples-gke-k8s-helm/badge" /></a>
77

8-
## Install Terraform
9-
10-
1. Install Terraform if it is not already installed (visit [terraform.io](https://terraform.io) for other distributions):
8+
## Change to the example directory
119

1210
```
13-
./terraform-install.sh
11+
[[ `basename $PWD` != example-gke-k8s-helm ]] && cd example-gke-k8s-helm
1412
```
1513

16-
## Change to the example directory
14+
## Install Terraform
15+
16+
1. Install Terraform if it is not already installed (visit [terraform.io](https://terraform.io) for other distributions):
1717

1818
```
19-
cd example-gke-k8s-helm/
19+
../terraform-install.sh
2020
```
2121

2222
## Set up the environment

example-gke-k8s-multi-region/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This example shows how to do multi-region ingress using an L7 HTTP Load Balancer with regional clusters.
44

5-
[![button](http://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/terraform-google-examples&page=editor&tutorial=example-gke-k8s-multi-region/README.md)
5+
[![button](http://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/terraform-google-examples&working_dir=example-gke-k8s-multi-region&page=shell&tutorial=README.md)
66

77
<a href="https://concourse-tf.gcp.solutions/teams/main/pipelines/tf-examples-gke-multi-region" target="_blank">
88
<img src="https://concourse-tf.gcp.solutions/api/v1/teams/main/pipelines/tf-examples-gke-multi-region/badge" /></a>
@@ -11,18 +11,18 @@ This example shows how to do multi-region ingress using an L7 HTTP Load Balancer
1111

1212
![architecture diagram](./diagram.png)
1313

14-
## Install Terraform
15-
16-
1. Install Terraform if it is not already installed (visit [terraform.io](https://terraform.io) for other distributions):
14+
## Change to the example directory
1715

1816
```
19-
./terraform-install.sh
17+
[[ `basename $PWD` != example-gke-k8s-multi-region ]] && cd example-gke-k8s-multi-region
2018
```
2119

22-
## Change to the example directory
20+
## Install Terraform
21+
22+
1. Install Terraform if it is not already installed (visit [terraform.io](https://terraform.io) for other distributions):
2323

2424
```
25-
cd example-gke-k8s-multi-region/
25+
../terraform-install.sh
2626
```
2727

2828
## Set up the environment

example-gke-k8s-service-lb/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22

33
Example showing how to integrate the Terraform kubernetes provider with a Google Kubernetes Engine cluster.
44

5-
[![button](http://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/terraform-google-examples&page=editor&tutorial=example-gke-service-lb/README.md)
5+
[![button](http://gstatic.com/cloudssh/images/open-btn.png)](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/terraform-google-examples&working_dir=example-gke-k8s-service-lb&page=shell&tutorial=README.md)
66

77
<a href="https://concourse-tf.gcp.solutions/teams/main/pipelines/tf-examples-gke-service-lb" target="_blank">
88
<img src="https://concourse-tf.gcp.solutions/api/v1/teams/main/pipelines/tf-examples-gke-service-lb/badge" /></a>
99

10-
## Install Terraform
11-
12-
1. Install Terraform if it is not already installed (visit [terraform.io](https://terraform.io) for other distributions):
10+
## Change to the example directory
1311

1412
```
15-
./terraform-install.sh
13+
[[ `basename $PWD` != example-gke-k8s-service-lb ]] && cd example-gke-k8s-service-lb
1614
```
1715

18-
## Change to the example directory
16+
## Install Terraform
17+
18+
1. Install Terraform if it is not already installed (visit [terraform.io](https://terraform.io) for other distributions):
1919

2020
```
21-
cd example-gke-service-lb/
21+
../terraform-install.sh
2222
```
2323

2424
## Set up the environment

0 commit comments

Comments
 (0)