Browse Source

initial version of counter

pull/3/head
Sebastian Rieger 3 years ago
parent
commit
7059688b5d
  1. 16
      terraform/rancher-terraform/main.tf

16
terraform/rancher-terraform/main.tf

@ -1,8 +1,8 @@
# Define IntServ group number
# Define CloudComp group number
# TODO: change to use OS env vars etc.
variable "group_number" {
type = string
default = "19"
default = "22"
}
## OpenStack credentials can be used in a more secure way by using
@ -11,11 +11,11 @@ variable "group_number" {
# Define OpenStack credentials, project config etc.
locals {
auth_url = "https://private-cloud.informatik.hs-fulda.de:5000/v3"
user_name = "IntServ${var.group_number}"
user_name = "CloudComp${var.group_number}"
user_password = "<password of your group here, private-cloud is only reachable via vpn>"
tenant_name = "IntServ${var.group_number}"
#network_name = "IntServ${var.group_number}-net"
router_name = "IntServ${var.group_number}-router"
tenant_name = "CloudComp${var.group_number}"
#network_name = "CloudComp${var.group_number}-net"
router_name = "CloudComp${var.group_number}-router"
image_name = "Ubuntu 20.04 - Focal Fossa - 64-bit - Cloud Based Image"
flavor_name = "m1.medium"
region_name = "RegionOne"
@ -35,11 +35,11 @@ required_version = ">= 0.14.0"
required_providers {
openstack = {
source = "terraform-provider-openstack/openstack"
version = ">= 1.46.0"
version = ">= 1.47.0"
}
rancher2 = {
source = "rancher/rancher2"
version = ">= 1.22.2"
version = ">= 1.24.0"
}
}
}

Loading…
Cancel
Save