aztfmod / terraform-provider-azurecaf

Terraform provider for the Terraform platform engineering for Azure
MIT License
173 stars 94 forks source link

Add support for attributes that should not be truncated or removed from the generated name #49

Open LaurentLesle opened 4 years ago

LaurentLesle commented 4 years ago

They are some scenarios when the maximum length of a resource is short and the caf provider should truncate some part of the generated name. However some part must not be truncated.

This issue add a new attribute "do_not_remove" to set the attributes that must not be truncated.

Example: do_not_remove=["name"]