-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tf
37 lines (31 loc) · 988 Bytes
/
main.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
35
36
37
terraform {
required_providers {
openstack = {
source = "terraform-provider-openstack/openstack"
version = "~> 1.49"
}
cloudvps = {
source = "terraform.wmcloud.org/registry/cloudvps"
version = "~> 0.1"
}
}
cloud {
organization = "enwikipedia-acc"
workspaces {
name = "application"
}
}
required_version = "~> 1.5.0"
}
provider "openstack" {
auth_url = "https://openstack.eqiad1.wikimediacloud.org:25000/v3"
tenant_name = var.project
application_credential_id = var.application_credential_id
application_credential_secret = var.application_credential_secret
}
provider "cloudvps" {
os_auth_url = "https://openstack.eqiad1.wikimediacloud.org:25000/v3"
os_project_id = var.project
os_application_credential_id = var.application_credential_id
os_application_credential_secret = var.application_credential_secret
}