This repository has been archived by the owner on Dec 24, 2024. It is now read-only.
generated from 18F/open-source-policy
-
Notifications
You must be signed in to change notification settings - Fork 4
/
vars.tf
65 lines (56 loc) · 1.92 KB
/
vars.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Vars for accessing Cloud Foundry to manage the deployment of the broker
# and manage the broker's registration in various spaces
variable "cf_api_url" {
default = "https://api.fr.cloud.gov"
description = "URL for the API of your Cloud Foundry deployment"
}
variable "cf_username" {
description = "Cloud Foundry user to use for deploying and registering the broker"
}
variable "cf_password" {
description = "Password for the Cloud Foundry user"
}
# Vars for provisioning and managing resources in AWS
variable "aws_access_key_id" {
description = "AWS access key to use for managing resources. Policy requirements: https://github.com/pivotal/cloud-service-broker/blob/master/docs/aws-installation.md#required-iam-policies"
}
variable "aws_secret_access_key" {
description = "AWS secret for the access key"
}
variable "broker_zone" {
description = "DNS zone to use for managed resources"
}
variable "manage_zone" {
description = "Whether to create the broker_zone"
type = bool
}
variable "broker_space" {
description = "The space where the broker itself should be deployed"
type = object({
org = string
space = string
})
}
variable "client_spaces" {
description = "The spaces where the broker should be available. A map where keys are org names, and the values are sets of spaces in that org. If none, the broker will not be restricted to a space"
type = map(set(string))
default = {
# orgname = [ "space1", "space2" ]
}
}
variable "ssb_app_disk_quota" {
default = 2048
description = "Disk quota (MiB) to allocate for ssb application."
}
variable "ssb_app_instances" {
default = 1
description = "Number of application instances to run."
}
variable "ssb_app_memory" {
default = 256
description = "Memory (MiB) to allocate for ssb application."
}
variable "enable_ssh" {
default = true
description = "Whether `cf ssh` should be enabled for the broker app"
}