[ch2531] | [Anoop] | Init
This commit is contained in:
28
types.go
Normal file
28
types.go
Normal file
@@ -0,0 +1,28 @@
|
||||
package main
|
||||
|
||||
var workspaceMap = map[string]string {
|
||||
"prod": "aps1.prod.navi-tech.in",
|
||||
}
|
||||
|
||||
type Manifest struct {
|
||||
Infra Infra `json:"infra"`
|
||||
}
|
||||
|
||||
type Infra struct {
|
||||
Environment string `json:"environment"`
|
||||
Workspace string
|
||||
Rds Rds `json:"rds"`
|
||||
}
|
||||
|
||||
//We provide defaults in respective terraforms instead of here to keep all values at one place
|
||||
type Rds struct {
|
||||
AwsInstanceClass string `json:"awsInstanceClass"`
|
||||
PsqlFamily string `json:"psqlFamily"`
|
||||
PsqlEngineVersion string `json:"psqlEngineVersion"`
|
||||
User string `json:"user"`
|
||||
Password string `json:"password"`
|
||||
SizeInGb int `json:"sizeInGb"`
|
||||
Databases []string `json:"databases"`
|
||||
InstanceName string `json:"instanceName"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user