2022-09-01 19:43:01 +00:00
|
|
|
provider "hcloud" {
|
|
|
|
token = var.hcloud_token
|
|
|
|
}
|
|
|
|
|
|
|
|
provider "cloudflare" {
|
|
|
|
api_token = var.cloudflare_api_token
|
|
|
|
}
|
2022-09-03 21:12:06 +00:00
|
|
|
|
|
|
|
provider "restapi" {
|
|
|
|
uri = var.ucs_api_url
|
|
|
|
username = var.ucs_api_username
|
|
|
|
password = var.ucs_api_password
|
|
|
|
id_attribute = "dn"
|
|
|
|
debug = true
|
|
|
|
create_returns_object = true
|
|
|
|
headers = {
|
|
|
|
accept = "application/json"
|
|
|
|
}
|
|
|
|
}
|