Skip to content

Commit 2144fdd

Browse files
chore: rename all tf.vars.example to terraform.tfvars.example (#630)
And update instructions to copy instead of rename and with the name of `terraform.tfvars`. This way they're picked up automatically by Terraform and don't need to be specified with `-var-file`.
1 parent 505c6e5 commit 2144fdd

77 files changed

Lines changed: 151 additions & 151 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

examples/aks/aks_cluster/README.MD

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ Example configuration should be analysed in the following order:
77
3. Create CAST AI related resources to connect AKS cluster to CAST AI - `castai.tf`
88

99
# Usage
10-
1. Rename `tf.vars.example` to `tf.vars`
11-
2. Update `tf.vars` file with your cluster name, cluster region and CAST AI API token.
10+
1. Copy `terraform.tfvars.example` to `terraform.tfvars`
11+
2. Update `terraform.tfvars` file with your cluster name, cluster region and CAST AI API token.
1212
3. Initialize Terraform. Under example root folder run:
1313
```
1414
terraform init
1515
```
1616
4. Run Terraform apply:
1717
```
18-
terraform apply -var-file=tf.vars
18+
terraform apply
1919
```
2020
5. To destroy resources created by this example:
2121
```
22-
terraform destroy -var-file=tf.vars
22+
terraform destroy
2323
```
2424

2525
Please refer to this guide if you run into any issues https://docs.cast.ai/docs/terraform-troubleshooting
File renamed without changes.

examples/aks/aks_cluster_arm_template/README.MD

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ Example configuration should be analysed in the following order:
77
3. Create CAST AI related resources to connect AKS cluster to CAST AI, configure Autoscaler and Node Configurations - `castai.tf`
88

99
# Usage
10-
1. Rename `tf.vars.example` to `tf.vars`
11-
2. Update `tf.vars` file with your cluster name, cluster region and CAST AI API token.
10+
1. Copy `terraform.tfvars.example` to `terraform.tfvars`
11+
2. Update `terraform.tfvars` file with your cluster name, cluster region and CAST AI API token.
1212
3. Initialize Terraform. Under example root folder run:
1313
```
1414
terraform init
1515
```
1616
4. Run Terraform apply:
1717
```
18-
terraform apply -var-file=tf.vars
18+
terraform apply
1919
```
2020
5. To destroy resources created by this example:
2121
```
22-
terraform destroy -var-file=tf.vars
22+
terraform destroy
2323
```
2424

2525
Please refer to this guide if you run into any issues https://docs.cast.ai/docs/terraform-troubleshooting

examples/aks/aks_cluster_arm_template/tf.vars.example renamed to examples/aks/aks_cluster_arm_template/terraform.tfvars.example

File renamed without changes.

examples/aks/aks_cluster_autoscaler_policies/README.MD

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ Example configuration should be analysed in the following order:
77
3. Create CAST AI related resources to connect AKS cluster to CAST AI, configure Autoscaler and Node Configurations - `castai.tf`
88

99
# Usage
10-
1. Rename `tf.vars.example` to `tf.vars`
11-
2. Update `tf.vars` file with your cluster name, cluster region and CAST AI API token.
10+
1. Copy `terraform.tfvars.example` to `terraform.tfvars`
11+
2. Update `terraform.tfvars` file with your cluster name, cluster region and CAST AI API token.
1212
3. Initialize Terraform. Under example root folder run:
1313
```
1414
terraform init
1515
```
1616
4. Run Terraform apply:
1717
```
18-
terraform apply -var-file=tf.vars
18+
terraform apply
1919
```
2020
5. To destroy resources created by this example:
2121
```
22-
terraform destroy -var-file=tf.vars
22+
terraform destroy
2323
```
2424

2525
Please refer to this guide if you run into any issues https://docs.cast.ai/docs/terraform-troubleshooting

examples/aks/aks_cluster_autoscaler_policies/tf.vars.example renamed to examples/aks/aks_cluster_autoscaler_policies/terraform.tfvars.example

File renamed without changes.

examples/aks/aks_cluster_azure_cni/README.MD

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ Example configuration should be analysed in the following order:
77
3. Create CAST AI related resources to connect AKS cluster to CAST AI - `castai.tf`
88

99
# Usage
10-
1. Rename `tf.vars.example` to `tf.vars`
11-
2. Update `tf.vars` file with your cluster name, cluster region and CAST AI API token.
10+
1. Copy `terraform.tfvars.example` to `terraform.tfvars`
11+
2. Update `terraform.tfvars` file with your cluster name, cluster region and CAST AI API token.
1212
3. Initialize Terraform. Under example root folder run:
1313
```
1414
terraform init
1515
```
1616
4. Run Terraform apply:
1717
```
18-
terraform apply -var-file=tf.vars
18+
terraform apply
1919
```
2020
5. To destroy resources created by this example:
2121
```
22-
terraform destroy -var-file=tf.vars
22+
terraform destroy
2323
```
2424

2525
Please refer to this guide if you run into any issues https://docs.cast.ai/docs/terraform-troubleshooting

examples/aks/aks_cluster_azure_cni/tf.vars.example renamed to examples/aks/aks_cluster_azure_cni/terraform.tfvars.example

File renamed without changes.

examples/aks/aks_cluster_existing/README.MD

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ Example configuration should be analysed in the following order:
55
1. Create CAST AI related resources to connect AKS cluster to CAST AI, configure Autoscaler and Node Configurations - `castai.tf`
66

77
# Usage
8-
1. Rename `tf.vars.example` to `tf.vars`
9-
2. Update `tf.vars` file with your cluster name, cluster_rg, cluster region, subnets and CAST AI API token.
8+
1. Copy `terraform.tfvars.example` to `terraform.tfvars`
9+
2. Update `terraform.tfvars` file with your cluster name, cluster_rg, cluster region, subnets and CAST AI API token.
1010
3. Initialize Terraform. Under example root folder run:
1111
```
1212
terraform init
1313
```
1414
4. Run Terraform apply:
1515
```
16-
terraform apply -var-file=tf.vars
16+
terraform apply
1717
```
1818
5. To destroy resources created by this example:
1919
```
20-
terraform destroy -var-file=tf.vars
20+
terraform destroy
2121
```
2222

2323
Please refer to this guide if you run into any issues https://docs.cast.ai/docs/terraform-troubleshooting

examples/aks/aks_cluster_existing/tf.vars.example renamed to examples/aks/aks_cluster_existing/terraform.tfvars.example

File renamed without changes.

0 commit comments

Comments
 (0)