aztfmod / terraform-provider-azurecaf

Terraform provider for the Terraform platform engineering for Azure
MIT License
174 stars 93 forks source link

fix(resourceDefinition.json) allow underscores within azurerm_key_vault_secret #189

Closed nusrath432 closed 2 years ago

nusrath432 commented 2 years ago

Issue

Unable to create Postgres flexible server databases with underscore 950

PR Checklist


Description

allow underscores within azurerm_key_vault_secret

Does this introduce a breaking change

Testing

Needs testing

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

arnaudlh commented 2 years ago

@nusrath432 underscores are not allowed for secrets as per: https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/resource-name-rules#microsoftkeyvault so current implementation looks good, what do you think @Nepomuceno?

arnaudlh commented 2 years ago

Closing until further updates from @nusrath432 and @Nepomuceno

nusrath432 commented 1 year ago

@arnaudlh Request was from @wasfree - You are right, underscores are not allowed in KV - no action required - can close issue https://github.com/aztfmod/terraform-azurerm-caf/issues/950

nusrath432 commented 1 year ago

@arnaudlh we still need to fix the database name creation: https://github.com/aztfmod/terraform-azurerm-caf/pull/1318/commits/95e1322ac4e6d34961f8c30d48c0324eef028845