From 3b86a2e488bf4e6aa47524cc9fb3902615ac56ee Mon Sep 17 00:00:00 2001 From: piyush-sinha Date: Mon, 6 Apr 2020 11:47:06 +0530 Subject: [PATCH] [ch5082] | Piyush | Fix indentation --- types.go | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) 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"` +}