sfos/env.sample

37 lines
2.1 KiB
Text

# sfos uses opentofu/terraform to provision infrastrucutre. By default, infrastructure state may be stored in any s3-compatible object store.
# Despite the name of this variables, this access key need not be for AWS (Amazon Web Services)
#
# AWS_ACCESS_KEY_ID is the access key for reading/writing opentofu/terraform state to/from a s3-compatible object store
AWS_ACCESS_KEY_ID=<AWS_ACCESS_KEY_ID>
# sfos uses opentofu/terraform to provision infrastrucutre. By default, infrastructure state may be stored in any s3-compatible object store
# Despite the name of this variables, this access key need not be for AWS (Amazon Web Services)
#
# AWS_SECRET_ACCESS_KEY is the secret access key for reading/writing opentofu/terraform to/from a s3-compatible object store
AWS_SECRET_ACCESS_KEY=<AWS_SECRET_ACCESS_KEY>
# Tailscale key to join the Tailnet
TF_VAR_tailscale_auth_key=<TF_VAR_tailscale_auth_key>
# Access token for accessing your compute provider's provisioning API
export TF_VAR_compute_provider_access_token=<TF_VAR_compute_provider_access_token>
# The SSH public key of the admin user who is able to SSH into created nodes
export TF_VAR_admin_ssh_public_key=<TF_VAR_admin_ssh_public_key>
#######################################################################################################################
# Compute provider configuration
#######################################################################################################################
# The name your compute provider uses to refer to the type of compute resource/node you're creating, e.g Hetzner 'cpx21' for CPX21 server
export TF_VAR_compute_provider_node_type=<TF_VAR_compute_provider_node_type>
# The region in which to create compute nodes
export TF_VAR_compute_provider_region=<TF_VAR_compute_provider_region>
# The CIDR block for the cluster's private subnet
# export TF_VAR_internal_cidr_block="10.0.1.0/24"
#######################################################################################################################
# Compute provider configuration
#######################################################################################################################