Merge pull request #211 from navi-infra/INFRA-3492-TAGS
INFRA-3492 | Harinder | Adding environment tags in resources other than rds and rds-aurora
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,2 +1,2 @@
|
||||
app_name: infra-provisioner-v2
|
||||
version: v2.48.7
|
||||
version: v2.48.8
|
||||
|
||||
@@ -30,10 +30,10 @@ module "iam-role" {
|
||||
role_name = "{{ .Name }}-{{ .NameSuffix }}"
|
||||
{{- end }}
|
||||
infra_vertical = {{ .InfraVertical | quote }}
|
||||
tags = {
|
||||
tags = merge({
|
||||
Team = {{ .Team.Name | quote }}
|
||||
Owner = {{ .Team.Owner | quote }}
|
||||
Name = "{{ .Name }}"
|
||||
Environment = {{ .ExtraResources.Environment | quote }}
|
||||
}
|
||||
}, {{ .ExtraResources.GlobalTags | mustToJson }} )
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ module "docdb" {
|
||||
master_password = {{ .ExtraResources.DocDb.MasterPassword | quote }}
|
||||
cluster_size = {{ .ExtraResources.DocDb.ClusterSize }}
|
||||
|
||||
tags = {
|
||||
tags = merge({
|
||||
Team = {{ .Team.Name | quote }}
|
||||
Owner = {{ .Team.Owner | quote }}
|
||||
Product = {{ .Team.Product | quote }}
|
||||
@@ -37,7 +37,7 @@ module "docdb" {
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
}
|
||||
}, {{ .ExtraResources.GlobalTags | mustToJson }})
|
||||
|
||||
instance_class = {{ .ExtraResources.DocDb.AwsInstanceClass | quote }}
|
||||
apply_immediately = {{ .ExtraResources.DocDb.ApplyImmediately }}
|
||||
|
||||
@@ -13,7 +13,7 @@ module "dynamodb" {
|
||||
source = "git@github.com:navi-infra/dynamo-db-module.git"
|
||||
environment = {{ .ExtraResources.Environment | quote }}
|
||||
infra_vertical = {{ .InfraVertical | quote }}
|
||||
tags = {
|
||||
tags = merge({
|
||||
Team = {{ .Team.Name | quote }}
|
||||
Owner = {{ .Team.Owner | quote }}
|
||||
Product = {{ .Team.Product | quote }}
|
||||
@@ -26,7 +26,7 @@ module "dynamodb" {
|
||||
DataSensitivity = "PII_SPI"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
}
|
||||
}, {{ .ExtraResources.GlobalTags | mustToJson }})
|
||||
|
||||
{{- if.ExtraResources.Dynamodb.Tables}}
|
||||
tables = [
|
||||
|
||||
@@ -16,13 +16,13 @@ module "elastic_cache" {
|
||||
infra_vertical = {{ .InfraVertical | quote }}
|
||||
team = {{ .Team.Name | quote }}
|
||||
|
||||
tags = {
|
||||
tags = merge({
|
||||
Team = {{ .Team.Name | quote }}
|
||||
Owner = {{ .Team.Owner | quote }}
|
||||
Product = {{ .Team.Product | quote }}
|
||||
Environment = {{ .ExtraResources.Environment | quote }}
|
||||
Name = {{ .Name | quote}}
|
||||
}
|
||||
}, {{ .ExtraResources.GlobalTags | mustToJson }} )
|
||||
|
||||
node_type = {{ .ExtraResources.ElasticCache.AwsInstanceClass | quote }}
|
||||
apply_immediately = {{ .ExtraResources.ElasticCache.ApplyImmediately }}
|
||||
|
||||
@@ -17,10 +17,10 @@ module "iam-role" {
|
||||
cluster_name = "nonprod.np.navi-tech.in"
|
||||
role_name = "foo-navi-service"
|
||||
infra_vertical = "lending"
|
||||
tags = {
|
||||
tags = merge({
|
||||
Team = "Infra"
|
||||
Owner = "lending"
|
||||
Name = "foo"
|
||||
Environment = "dev"
|
||||
}
|
||||
}, null )
|
||||
}
|
||||
|
||||
@@ -19,14 +19,14 @@ module "docdb" {
|
||||
master_password = "foo_service_pass"
|
||||
cluster_size = 1
|
||||
|
||||
tags = {
|
||||
tags = merge({
|
||||
Team = "Infra"
|
||||
Owner = "lending"
|
||||
Product = "lending"
|
||||
Environment = "dev"
|
||||
Name = "foo"
|
||||
DataSensitivity = "PII_SPI"
|
||||
}
|
||||
}, null)
|
||||
|
||||
instance_class = "db.t4g.medium"
|
||||
apply_immediately = false
|
||||
|
||||
@@ -13,14 +13,14 @@ module "dynamodb" {
|
||||
source = "git@github.com:navi-infra/dynamo-db-module.git"
|
||||
environment = "dev"
|
||||
infra_vertical = "lending"
|
||||
tags = {
|
||||
tags = merge({
|
||||
Team = "Infra"
|
||||
Owner = "lending"
|
||||
Product = "lending"
|
||||
Environment = "dev"
|
||||
Name = "foo"
|
||||
DataSensitivity = "PII_SPI"
|
||||
}
|
||||
}, null)
|
||||
tables = [
|
||||
{
|
||||
table_name = "foo_dev_abc"
|
||||
|
||||
@@ -16,13 +16,13 @@ module "elastic_cache" {
|
||||
infra_vertical = "lending"
|
||||
team = "Infra"
|
||||
|
||||
tags = {
|
||||
tags = merge({
|
||||
Team = "Infra"
|
||||
Owner = "lending"
|
||||
Product = "lending"
|
||||
Environment = "dev"
|
||||
Name = "foo"
|
||||
}
|
||||
}, null )
|
||||
|
||||
node_type = "cache.t3.small"
|
||||
apply_immediately = false
|
||||
|
||||
@@ -17,10 +17,10 @@ module "iam-role" {
|
||||
cluster_name = "aps1.np.navi-gi.in"
|
||||
role_name = "foo-navi-service"
|
||||
infra_vertical = "insurance"
|
||||
tags = {
|
||||
tags = merge({
|
||||
Team = "Infra"
|
||||
Owner = "gi"
|
||||
Name = "foo"
|
||||
Environment = "dev"
|
||||
}
|
||||
}, null )
|
||||
}
|
||||
|
||||
@@ -19,14 +19,14 @@ module "docdb" {
|
||||
master_password = "foo_service_pass"
|
||||
cluster_size = 1
|
||||
|
||||
tags = {
|
||||
tags = merge({
|
||||
Team = "Infra"
|
||||
Owner = "gi"
|
||||
Product = "gi"
|
||||
Environment = "dev"
|
||||
Name = "foo"
|
||||
DataSensitivity = "PII_SPI"
|
||||
}
|
||||
}, null)
|
||||
|
||||
instance_class = "db.t4g.medium"
|
||||
apply_immediately = false
|
||||
|
||||
@@ -13,14 +13,14 @@ module "dynamodb" {
|
||||
source = "git@github.com:navi-infra/dynamo-db-module.git"
|
||||
environment = "dev"
|
||||
infra_vertical = "insurance"
|
||||
tags = {
|
||||
tags = merge({
|
||||
Team = "Infra"
|
||||
Owner = "gi"
|
||||
Product = "gi"
|
||||
Environment = "dev"
|
||||
Name = "foo"
|
||||
DataSensitivity = "PII_SPI"
|
||||
}
|
||||
}, null)
|
||||
tables = [
|
||||
{
|
||||
table_name = "foo_dev_abc"
|
||||
|
||||
@@ -16,13 +16,13 @@ module "elastic_cache" {
|
||||
infra_vertical = "insurance"
|
||||
team = "Infra"
|
||||
|
||||
tags = {
|
||||
tags = merge({
|
||||
Team = "Infra"
|
||||
Owner = "gi"
|
||||
Product = "gi"
|
||||
Environment = "dev"
|
||||
Name = "foo"
|
||||
}
|
||||
}, null )
|
||||
|
||||
node_type = "cache.t3.small"
|
||||
apply_immediately = false
|
||||
|
||||
@@ -17,10 +17,10 @@ module "iam-role" {
|
||||
cluster_name = "aps1.np.navi-gi.in"
|
||||
role_name = "foo-navi-service"
|
||||
infra_vertical = "insurance"
|
||||
tags = {
|
||||
tags = merge({
|
||||
Team = "Infra"
|
||||
Owner = "gi"
|
||||
Name = "foo"
|
||||
Environment = "dev"
|
||||
}
|
||||
}, null )
|
||||
}
|
||||
|
||||
@@ -19,14 +19,14 @@ module "docdb" {
|
||||
master_password = "foo_service_pass"
|
||||
cluster_size = 1
|
||||
|
||||
tags = {
|
||||
tags = merge({
|
||||
Team = "Infra"
|
||||
Owner = "gi"
|
||||
Product = "gi"
|
||||
Environment = "dev"
|
||||
Name = "foo"
|
||||
DataSensitivity = "PII_SPI"
|
||||
}
|
||||
}, null)
|
||||
|
||||
instance_class = "db.t4g.medium"
|
||||
apply_immediately = false
|
||||
|
||||
@@ -13,14 +13,14 @@ module "dynamodb" {
|
||||
source = "git@github.com:navi-infra/dynamo-db-module.git"
|
||||
environment = "dev"
|
||||
infra_vertical = "insurance"
|
||||
tags = {
|
||||
tags = merge({
|
||||
Team = "Infra"
|
||||
Owner = "gi"
|
||||
Product = "gi"
|
||||
Environment = "dev"
|
||||
Name = "foo"
|
||||
DataSensitivity = "PII_SPI"
|
||||
}
|
||||
}, null)
|
||||
tables = [
|
||||
{
|
||||
table_name = "foo_dev_abc"
|
||||
|
||||
@@ -16,13 +16,13 @@ module "elastic_cache" {
|
||||
infra_vertical = "insurance"
|
||||
team = "Infra"
|
||||
|
||||
tags = {
|
||||
tags = merge({
|
||||
Team = "Infra"
|
||||
Owner = "gi"
|
||||
Product = "gi"
|
||||
Environment = "dev"
|
||||
Name = "foo"
|
||||
}
|
||||
}, null )
|
||||
|
||||
node_type = "cache.t3.small"
|
||||
apply_immediately = false
|
||||
|
||||
Reference in New Issue
Block a user