You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
1.9 KiB

  1. variable "AWS_ACCESS_KEY_ID" {
  2. description = "AWS Access Key"
  3. }
  4. variable "AWS_SECRET_ACCESS_KEY" {
  5. description = "AWS Secret Key"
  6. }
  7. variable "AWS_SSH_KEY_NAME" {
  8. description = "Name of the SSH keypair to use in AWS."
  9. }
  10. variable "AWS_DEFAULT_REGION" {
  11. description = "AWS Region"
  12. }
  13. //General Cluster Settings
  14. variable "aws_cluster_name" {
  15. description = "Name of AWS Cluster"
  16. }
  17. //AWS VPC Variables
  18. variable "aws_vpc_cidr_block" {
  19. description = "CIDR Block for VPC"
  20. }
  21. variable "aws_avail_zones" {
  22. description = "Availability Zones Used"
  23. type = "list"
  24. }
  25. variable "aws_cidr_subnets_private" {
  26. description = "CIDR Blocks for private subnets in Availability Zones"
  27. type = "list"
  28. }
  29. variable "aws_cidr_subnets_public" {
  30. description = "CIDR Blocks for public subnets in Availability Zones"
  31. type = "list"
  32. }
  33. //AWS EC2 Settings
  34. variable "aws_bastion_ami" {
  35. description = "AMI ID for Bastion Host in chosen AWS Region"
  36. }
  37. variable "aws_bastion_size" {
  38. description = "EC2 Instance Size of Bastion Host"
  39. }
  40. /*
  41. * AWS EC2 Settings
  42. * The number should be divisable by the number of used
  43. * AWS Availability Zones without an remainder.
  44. */
  45. variable "aws_kube_master_num" {
  46. description = "Number of Kubernetes Master Nodes"
  47. }
  48. variable "aws_kube_master_size" {
  49. description = "Instance size of Kube Master Nodes"
  50. }
  51. variable "aws_etcd_num" {
  52. description = "Number of etcd Nodes"
  53. }
  54. variable "aws_etcd_size" {
  55. description = "Instance size of etcd Nodes"
  56. }
  57. variable "aws_kube_worker_num" {
  58. description = "Number of Kubernetes Worker Nodes"
  59. }
  60. variable "aws_kube_worker_size" {
  61. description = "Instance size of Kubernetes Worker Nodes"
  62. }
  63. variable "aws_cluster_ami" {
  64. description = "AMI ID for Kubernetes Cluster"
  65. }
  66. /*
  67. * AWS ELB Settings
  68. *
  69. */
  70. variable "aws_elb_api_port" {
  71. description = "Port for AWS ELB"
  72. }
  73. variable "k8s_secure_api_port" {
  74. description = "Secure Port of K8S API Server"
  75. }