vars.tf 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. // Region is AWS region, the region should support EFS
  2. variable "region" {
  3. type = string
  4. }
  5. // Teleport cluster name to set up
  6. variable "cluster_name" {
  7. type = string
  8. }
  9. // Path to Teleport Enterprise license file
  10. variable "license_path" {
  11. type = string
  12. default = ""
  13. }
  14. // AMI name to use
  15. variable "ami_name" {
  16. type = string
  17. }
  18. // DNS and letsencrypt integration variables
  19. // Zone name to host DNS record, e.g. example.com
  20. variable "route53_zone" {
  21. type = string
  22. }
  23. // Domain name to use for Teleport proxy,
  24. // e.g. proxy.example.com
  25. variable "route53_domain" {
  26. type = string
  27. }
  28. // S3 Bucket to create for encrypted letsencrypt certificates
  29. variable "s3_bucket_name" {
  30. type = string
  31. }
  32. // Email for LetsEncrypt domain registration
  33. variable "email" {
  34. type = string
  35. }
  36. // SSH key name to provision instances withx
  37. variable "key_name" {
  38. type = string
  39. }
  40. // Whether to use Amazon-issued certificates via ACM or not
  41. // This must be set to true for any use of ACM whatsoever, regardless of whether Terraform generates/approves the cert
  42. variable "use_letsencrypt" {
  43. type = string
  44. }
  45. // Whether to use Amazon-issued certificates via ACM or not
  46. // This must be set to true for any use of ACM whatsoever, regardless of whether Terraform generates/approves the cert
  47. variable "use_acm" {
  48. type = string
  49. }
  50. variable "kms_alias_name" {
  51. default = "alias/aws/ssm"
  52. }
  53. // Instance type for cluster
  54. variable "cluster_instance_type" {
  55. type = string
  56. default = "t3.nano"
  57. }