thank you for the video, its very helpful and detailed. in the naming module definition you constructed suffix by passing var.env and default value is prod. If I want to create a resource for staging while calling from main resource code name = module.naming... how can I pass value for that var.env as staging?
My problem is simply trying to create a naming convention. That CAF page is great, except it doesn't account for probably the most created resource, storage accounts, because their naming restrictions are so strict. Further, MS doesn't even use this advice. They constantly autocreate resources with random strings and seem to put resource type at end of name, where CAF is suggesting upront. Naming is a nightmare.
thank you for the video, its very helpful and detailed. in the naming module definition you constructed suffix by passing var.env and default value is prod. If I want to create a resource for staging while calling from main resource code name = module.naming... how can I pass value for that var.env as staging?
My problem is simply trying to create a naming convention. That CAF page is great, except it doesn't account for probably the most created resource, storage accounts, because their naming restrictions are so strict. Further, MS doesn't even use this advice. They constantly autocreate resources with random strings and seem to put resource type at end of name, where CAF is suggesting upront. Naming is a nightmare.
yea i definitely agree with this as well.