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.

20 lines
823 B

  1. # Consider using 'export TF_VAR_os_auth_url=$OS_AUTH_URL'
  2. variable "os_auth_url"{}
  3. # Consider using 'export TF_VAR_os_password=$OS_PASSWORD'
  4. variable "os_password"{}
  5. module "rke" {
  6. source = "remche/rke/openstack"
  7. image_name = "Ubuntu 20.04 - Focal Fossa - 64-bit - Cloud Based Image"
  8. public_net_name = "public1"
  9. master_flavor_name = "m1.small"
  10. worker_flavor_name = "m1.small"
  11. os_auth_url = var.os_auth_url
  12. os_password = var.os_password
  13. #use_ssh_agent = false
  14. #enable_loadbalancer = true
  15. #use_octavia = true
  16. wait_for_commands = ["while docker info ; [ $? -ne 0 ]; do echo wait for docker; sudo newgrp - docker ; sleep 30 ; done"]
  17. user_data_file = "user-data.sh"
  18. dns_servers = [ "192.168.76.253" ]
  19. }