diff --git a/types.go b/types.go index c0a699f..76867f2 100644 --- a/types.go +++ b/types.go @@ -8,18 +8,18 @@ type Deployment struct { } type Manifest struct { - ExtraResources ExtraResources `json:"extraResources"` - Team Team `json:"team"` - Deployment Deployment `json:"deployment"` + ExtraResources ExtraResources `json:"extraResources"` + Team Team `json:"team"` + Deployment Deployment `json:"deployment"` StateStoreBackend StateStoreBackend } type ExtraResources struct { Environment string `json:"environment"` Workspace string - Database Database `json:"database"` + Database Database `json:"database"` ServiceRole ServiceRole `json:"aws_access"` - S3Buckets []S3Bucket `json:"s3_buckets"` + S3Buckets []S3Bucket `json:"s3_buckets"` } //We provide defaults in respective terraforms instead of here to keep all values at one place @@ -32,8 +32,8 @@ type Database struct { SizeInGb int `json:"sizeInGb"` DbNames []string `json:"dbNames"` InstanceName string `json:"instanceName"` - BackupDisabled bool `json:"backupDisabled"` - MultiAZDisabled bool `json:"multiAZDisabled"` + BackupDisabled bool `json:"backupDisabled"` + MultiAZDisabled bool `json:"multiAZDisabled"` } type Team struct { @@ -55,15 +55,15 @@ type StateStoreBackend struct { } type S3Bucket struct { - BucketName string `json:"anonymizedBucketName"` - BucketTag string `json:"bucketTag"` - LifecycleRules []LifecycleRule `json:"lifecycleRules"` + BucketName string `json:"anonymizedBucketName"` + BucketTag string `json:"bucketTag"` + LifecycleRules []LifecycleRule `json:"lifecycleRules"` } type LifecycleRule struct { - ObjectExpiration ObjectExpiration `json:"expiration"` + ObjectExpiration ObjectExpiration `json:"expiration"` } type ObjectExpiration struct { - Days int `json:"days"` -} \ No newline at end of file + Days int `json:"days"` +}