Skip to content

Commit 0f780cc

Browse files
committed
Add note to generated files pointing to ./autogen
1 parent 1ab6df0 commit 0f780cc

File tree

20 files changed

+62
-14
lines changed

20 files changed

+62
-14
lines changed

auth.tf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17+
// This file was automatically generated from a template in ./autogen
18+
1719
/******************************************
1820
Retrieve authentication token
1921
*****************************************/
@@ -27,4 +29,4 @@ provider "kubernetes" {
2729
host = "https://${local.cluster_endpoint}"
2830
token = "${data.google_client_config.default.access_token}"
2931
cluster_ca_certificate = "${base64decode(local.cluster_ca_certificate)}"
30-
}
32+
}

autogen/auth.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17+
{{ autogeneration_note }}
18+
1719
/******************************************
1820
Retrieve authentication token
1921
*****************************************/

autogen/cluster_regional.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17+
{{ autogeneration_note }}
18+
1719
/******************************************
1820
Create regional cluster
1921
*****************************************/

autogen/cluster_zonal.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17+
{{ autogeneration_note }}
18+
1719
/******************************************
1820
Create zonal cluster
1921
*****************************************/

autogen/dns.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17+
{{ autogeneration_note }}
18+
1719
/******************************************
1820
Delete default kube-dns configmap
1921
*****************************************/

autogen/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17+
{{ autogeneration_note }}
18+
1719
/******************************************
1820
Get available zones in region
1921
*****************************************/

autogen/masq.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17+
{{ autogeneration_note }}
18+
1719
/******************************************
1820
Create ip-masq-agent confimap
1921
*****************************************/

autogen/networks.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17+
{{ autogeneration_note }}
18+
1719
data "google_compute_network" "gke_network" {
1820
name = "${var.network}"
1921
project = "${local.network_project_id}"

autogen/outputs.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17+
{{ autogeneration_note }}
18+
1719
output "name" {
1820
description = "Cluster name"
1921
value = "${local.cluster_name}"

autogen/variables.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17+
{{ autogeneration_note }}
18+
1719
variable "project_id" {
1820
description = "The project ID to host the cluster in (required)"
1921
}

0 commit comments

Comments
 (0)