equinix / terraform-equinix-metal-anthos-on-vsphere

[Deprecated] Automated Anthos Installation via Terraform for Equinix Metal with vSphere
https://registry.terraform.io/modules/equinix/anthos-on-vsphere/metal/latest
Apache License 2.0
63 stars 41 forks source link

put private vars in a separate file #115

Closed dfong closed 3 years ago

dfong commented 3 years ago

currently terraform.tfvars contains a mixture of private info (eg, orgid and API key), and non-private info (number of nodes, machine model). it would be better to segregate the two types of info into separate files so that examples of non-private info can be created and shared.

displague commented 3 years ago

@dfong This sounds like something that can be done locally as a matter of Terraform configuration. https://www.terraform.io/docs/language/values/variables.html#variable-definitions-tfvars-files

You can put your secrets in secrets.auto.tfvars and keep the other configuration variables in terraform.tfvars.

I'm closing this, but feel free to reopen this if you think we should include documentation to this effect.