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

Added terraform.tfvars.example and updated Readme.md file on usage of… #83

Merged
merged 1 commit into from
Aug 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Added terraform.tfvars.example and updated Readme.md file on usage of…
… tfvars
  • Loading branch information
suryaboorlu committed Aug 23, 2024
commit 7105817fe7a2d800093d1c20effb1cef0f01914e
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ The Harvester console can be accessed using an Elastic IP created by the sample.
A random token and password will be generated for your example.

If you provide a Rancher API URL and keys, your Harvester environment can be managed by Rancher and a kubeconfig file will be saved locally.

### Using `terraform.tfvars.example` to Override Variable Values

You can use the `terraform.tfvars.example` file to override the default values in `variables.tf`. To do this, rename the example File from `terraform.tfvars.example` to `terraform.tfvars`.
11 changes: 11 additions & 0 deletions terraform.tfvars.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
harvester_version = "v1.3.1"
hostname_prefix = "test-harvester"
node_count = "3"
project_name = "Harvester Labs"
plan = "m3.small.x86"
#max_bid_price = "0.17"
metro = "SV"
spot_instance = true
ssh_key = ""
num_of_vlans = 0
use_cheapest_metro = true