-
Notifications
You must be signed in to change notification settings - Fork 42
/
terraform-provider.tf
34 lines (29 loc) · 929 Bytes
/
terraform-provider.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Terraform Openstack deployment
# Author: Rafael Belchior - rafael.belchior@tecnico.ulisboa.pt
#Debugging
#OS_DEBUG=1
#TF_LOG=DEBUG
variable "auth_url" {}
variable "project_domain_name" {}
variable "user_domain_name" {}
variable "region" {}
variable "tenant_name" {}
variable "tenant_id" {}
variable "user_name" {}
variable "password" {}
variable "ssh_key_public" {}
variable "ssh_key_private" {}
variable "unique_network_name" {}
provider "openstack" {
auth_url = "${var.auth_url}"
project_domain_name = "${var.project_domain_name}"
user_domain_name = "${var.user_domain_name}"
region = "${var.region}"
tenant_name = "${var.tenant_name}"
tenant_id = "${var.tenant_id}"
user_name = "${var.user_name}"
password = "${var.password}"
}
output "terraform-provider" {
value = "Connected with OpenStack at ${var.auth_url}"
}