-
Notifications
You must be signed in to change notification settings - Fork 4
/
onboarding-variables.tf
48 lines (47 loc) · 1.33 KB
/
onboarding-variables.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
38
39
40
41
42
43
44
45
46
47
48
// --- Azure Provider ---
variable "azure-client-id" {
description = "Insert your application client-id"
type = string
sensitive = true
}
variable "azure-client-secret" {
description = "Insert your application client-secret"
type = string
sensitive = true
}
variable "azure-subscription" {
description = "Insert your subscription-id"
type = string
sensitive = true
}
variable "azure-tenant" {
description = "Insert your active-directory-id"
type = string
sensitive = true
}
// --- CloudGuard Provider ---
variable "cspm-key-id" {
description = "Insert your API Key ID"
type = string
}
variable "cspm-key-secret" {
description = "Insert your API Key Secret"
type = string
sensitive = true
}
variable "chkp-account-region-list" {
description = "List of CloudGuard Account ID and API Endpoint"
default = {
America = ["https://central.dome9.com/","https://api.dome9.com/v2/"],
Europe = ["https://central.eu1.dome9.com/","https://api.eu1.dome9.com/v2/"],
Australia = ["https://central.ap2.dome9.com/","https://api.ap2.dome9.com/v2/"]
}
}
locals {
allowed_region_name = ["Europe","America","Australia",]
validate_region_name = index(local.allowed_region_name, var.chkp-account-region)
}
variable "chkp-account-region" {
description = "Insert your Cloudguard Account residency location"
type = string
}