You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These auto-generated tags can help our users to trace their production resources back to IaC code and repo. It completes the picture of the components and their connections from code to the cloud.
The problem is, Azure Verified Modules are reusable child modules that meant to be called by user's root modules. The tags that yor generated cannot be turned off, that's not user friendly if user doesn't like these tags.
This is where YorBox comes in. It scans the tags created by Yor and puts them into a "box" with a variable toggle that allows users to turn it on and off as needed. This makes it easier to manage tags and ensures consistency across your infrastructure.
After applying yorbox on the previous code, it would be:
We have used disable_telemetry = bool with default = false in the Azure Landing Zones modules. The implementation is different but maybe worth considering.
Module Name
all
Description
I'd like to introduce yorbox into verified module's CI pipeline, for now the generated toggle name is
yor_toggle
, maybe it's not a good name.BridgeCrew's Yor is an open-source tool that helps add informative and consistent tags across infrastructure as code (IaC) frameworks.
Assume we've got such Terraform code:
After applying yor, it could be:
These auto-generated tags can help our users to trace their production resources back to IaC code and repo. It completes the picture of the components and their connections from code to the cloud.
The problem is, Azure Verified Modules are reusable child modules that meant to be called by user's root modules. The tags that yor generated cannot be turned off, that's not user friendly if user doesn't like these tags.
This is where YorBox comes in. It scans the tags created by Yor and puts them into a "box" with a variable toggle that allows users to turn it on and off as needed. This makes it easier to manage tags and ensures consistency across your infrastructure.
After applying
yorbox
on the previous code, it would be:So the users can turn these yor tags off by setting
var.yor_toggle
tofalse
.Though this
var.yor_toggle
's name can be changed viayorbox
's cli flag, it looks like we still need a default name that better thanyor_toggle
.Example usage
No response
Other information
No response
The text was updated successfully, but these errors were encountered: