INFRA-3115 | Ankit Bhardwaj | merge master
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
|
||||
{{- if ne .ExtraResources.Database.DbEngineType "rds-aurora-postgres" }}
|
||||
terraform {
|
||||
backend "s3" {
|
||||
bucket = "navi-bank-terraform-command-state"
|
||||
bucket = "{{ .StateStoreBackend.BucketName }}"
|
||||
region = "ap-south-1"
|
||||
key = "rds"
|
||||
{{- if eq .InfraVertical "lending" }}
|
||||
@@ -9,7 +9,7 @@ terraform {
|
||||
{{- else}}
|
||||
workspace_key_prefix = "rds-states/{{ .InfraVertical }}/{{ .ExtraResources.Environment }}/{{ .ExtraResources.Database.InstanceName }}"
|
||||
{{- end}}
|
||||
profile = "cmd"
|
||||
profile = "{{ .StateStoreBackend.AWSProfile }}"
|
||||
acl = "bucket-owner-full-control"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
|
||||
terraform {
|
||||
backend "s3" {
|
||||
bucket = "navi-bank-terraform-command-state"
|
||||
bucket = "navi-bank-terraform-nonprod-state"
|
||||
region = "ap-south-1"
|
||||
key = "rds"
|
||||
workspace_key_prefix = "rds-states/foo-service"
|
||||
profile = "cmd"
|
||||
profile = "nonprod"
|
||||
acl = "bucket-owner-full-control"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user