terraform.tfvars 2.86 KB
Newer Older
Daniel Scholl's avatar
Daniel Scholl committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//  Copyright © Microsoft Corporation
//
//  Licensed under the Apache License, Version 2.0 (the "License");
//  you may not use this file except in compliance with the License.
//  You may obtain a copy of the License at
//
//       http://www.apache.org/licenses/LICENSE-2.0
//
//  Unless required by applicable law or agreed to in writing, software
//  distributed under the License is distributed on an "AS IS" BASIS,
//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//  See the License for the specific language governing permissions and
//  limitations under the License.

/*
.Synopsis
   Terraform Variable Configuration
.DESCRIPTION
   This file holds the Default Variable Configuration
*/

22
23
24
25
26
27
28
29
30
31
32
33
/*
The following items are recommended to override in custom.tfvars

1. Resource Tags
2. Kubernetes Version  ** Lock your version and manage your upgrades.
3. Agent VM Size       ** Current Default Recomendation.
4. Agent VM Count      ** Size as appropriate
5. Agent VM Disk       ** Size as appropriate
6. Feature Flags       ** Configure as desired

*/

Daniel Scholl's avatar
Daniel Scholl committed
34

Daniel Scholl's avatar
Daniel Scholl committed
35
36
37
38
39
40
prefix = "osdu-mvp"

resource_tags = {
  contact = "pipeline"
}

Daniel Scholl's avatar
Daniel Scholl committed
41
# Kubernetes Settings
42
kubernetes_version          = "1.19.11"
dzmitry_paulouski's avatar
dzmitry_paulouski committed
43
44
45
aks_agent_vm_size           = "Standard_E4s_v3"
aks_agent_vm_count          = "5"
aks_agent_vm_disk           = 128
dzmitry_paulouski's avatar
rebase    
dzmitry_paulouski committed
46
47
48
aks_services_agent_vm_size  = "Standard_E4s_v3"
aks_services_agent_vm_count = "5"
aks_services_agent_vm_disk  = 128
dzmitry_paulouski's avatar
dzmitry_paulouski committed
49
subnet_aks_prefix           = "10.10.2.0/23"
Daniel Scholl's avatar
Daniel Scholl committed
50

Daniel Scholl's avatar
Daniel Scholl committed
51
52
53
# Storage Settings
storage_replication_type = "LRS"
storage_containers = [
54
  "azure-webjobs-hosts"
Daniel Scholl's avatar
Daniel Scholl committed
55
]
56
57
58
59
60

system_storage_containers = [
  "opendes"
]

Daniel Scholl's avatar
Daniel Scholl committed
61
storage_shares = [
Daniel Scholl's avatar
Daniel Scholl committed
62
  "unit",
Daniel Scholl's avatar
Bug/92    
Daniel Scholl committed
63
64
  "crs",
  "crs-conversion"
Daniel Scholl's avatar
Daniel Scholl committed
65
]
66
storage_queues = []
67
68
69
70
71

# Feature Toggles
feature_flag = {
  osdu_namespace = true
  flux           = true
72
  sa_lock        = true
dzmitry_paulouski's avatar
dzmitry_paulouski committed
73
  autoscaling    = false
74
75
}

Vivek Ojha's avatar
Vivek Ojha committed
76
77
78
# Feature flag for keda v2
keda_v2_enabled = false

79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# cosmos DB SQL collections
cosmos_sql_collections = [
  {
    name                  = "Authority"
    database_name         = "osdu-system-db"
    partition_key_path    = "/id"
    partition_key_version = null

  },
  {
    name                  = "EntityType"
    database_name         = "osdu-system-db"
    partition_key_path    = "/id"
    partition_key_version = null
  },
  {
    name                  = "SchemaInfo"
    database_name         = "osdu-system-db"
    partition_key_path    = "/partitionId"
    partition_key_version = null
  },
  {
    name                  = "Source"
    database_name         = "osdu-system-db"
    partition_key_path    = "/id"
    partition_key_version = null
  },
  {
107
    name                  = "WorkflowV2"
108
109
110
111
112
113
114
115
116
117
118
119
120
    database_name         = "osdu-system-db"
    partition_key_path    = "/partitionKey"
    partition_key_version = 2
  },
]

# Database Settings
cosmosdb_consistency_level = "Session"
cosmos_databases = [
  {
    name       = "osdu-system-db"
    throughput = 12000
  }
121
]