Skip to content

Commit

Permalink
Updating tags to explicitly include 'azd-env-name' for AZD lookups
Browse files Browse the repository at this point in the history
  • Loading branch information
hatboyzero committed Aug 6, 2024
1 parent b5236c3 commit 89fb298
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions deploy/standard/infra/app-rg.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ var resourceSuffix = '${project}-${environmentName}-${location}-${workload}'

@description('Tags for all resources')
var tags = {
Environment: environmentName
IaC: 'Bicep'
Project: project
'azd-env-name': environmentName
'iac-type': 'bicep'
'project-name': project
Purpose: 'Services'
}

Expand Down
6 changes: 3 additions & 3 deletions deploy/standard/infra/auth-rg.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ var authSecrets = [

@description('Tags for all resources')
var tags = {
Environment: environmentName
IaC: 'Bicep'
Project: project
'azd-env-name': environmentName
'iac-type': 'bicep'
'project-name': project
Purpose: 'Services'
}

Expand Down
2 changes: 1 addition & 1 deletion deploy/standard/infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var existingOpenAiInstance = {
var tags = {
'compute-type': 'aks'
'create-date': createDate
'env-name': environmentName
'azd-env-name': environmentName
'iac-type': 'bicep'
'project-name': project
}
Expand Down
6 changes: 3 additions & 3 deletions deploy/standard/infra/networking-rg.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -530,9 +530,9 @@ var subnets = [
]

var tags = {
Environment: environmentName
IaC: 'Bicep'
Project: project
'azd-env-name': environmentName
'iac-type': 'bicep'
'project-name': project
Purpose: 'Networking'
}

Expand Down
6 changes: 3 additions & 3 deletions deploy/standard/infra/openai-rg.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ var openAiInstance = {
var deploymentConfigurations = loadJsonContent('../../common/config/openAiDeploymentConfig.json')

var tags = {
Environment: environmentName
IaC: 'Bicep'
Project: project
'azd-env-name': environmentName
'iac-type': 'bicep'
'project-name': project
Purpose: 'OpenAI'
}

Expand Down
6 changes: 3 additions & 3 deletions deploy/standard/infra/ops-rg.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ var resourceSuffix = '${project}-${environmentName}-${location}-${workload}'

@description('Tags for all resources')
var tags = {
Environment: environmentName
IaC: 'Bicep'
Project: project
'azd-env-name': environmentName
'iac-type': 'bicep'
'project-name': project
Purpose: 'DevOps'
}

Expand Down
6 changes: 3 additions & 3 deletions deploy/standard/infra/storage-rg.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ var resourceSuffix = '${project}-${environmentName}-${location}-${workload}'

@description('Tags for all resources')
var tags = {
Environment: environmentName
IaC: 'Bicep'
Project: project
'azd-env-name': environmentName
'iac-type': 'bicep'
'project-name': project
Purpose: 'Storage'
}

Expand Down
6 changes: 3 additions & 3 deletions deploy/standard/infra/vec-rg.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ var resourceSuffix = '${project}-${environmentName}-${location}-${workload}'

@description('Tags for all resources')
var tags = {
Environment: environmentName
IaC: 'Bicep'
Project: project
'azd-env-name': environmentName
'iac-type': 'bicep'
'project-name': project
Purpose: 'Vectorization'
}

Expand Down

0 comments on commit 89fb298

Please sign in to comment.