Closed vaclav-dvorak closed 3 years ago
hi @vaclav-dvorak can you please try with?
provider "azurecaf" {
version = "~> 1.0.0"
}
resource "azurecaf_name" "psql" {
name = "foo"
resource_type = "azurerm_postgresql_server"
}
As resource azurecaf_naming_convention
is the old logic.
Please let us know.
This indeed works. Thanks for clarification on new resource. Missed that in docs.
New resource types in v1.0.0 do not seem to pass validation. Tested on
psql
. Even thoughmodels_generated.go
containpsql
as resource type when its passed to terraform it throw validation error.Test
then execute
terraform init
andterraform validate
Expected
this to pass validation
Actual
Validation error is thrown