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
Hello!, would it be possible to add support for tag creation within a blueprint?. Currently when I push a tag creation via apstra_tag (Resource) it ends up in the global catalog (Design --> Tags).
I would like to limit the creation of a tag to a blueprint (Blueprints --> myblueprint --> Staged --> Catalog --> Tags), the idea would be to self-contain the tags that are too specific to the blueprint of interest and only push to Global Catalog when it makes sense.
The text was updated successfully, but these errors were encountered:
the Global Catalog under the design menu on the left side
within a blueprint
When a blueprint is instantiated from a template, any tags used in the design phase will be copied into the blueprint, but if you don't want to create them in the catalog, it is safe to ignore "design catalog" tags altogether.
You can create a new tag in a blueprint, regardless of whether it exists in the global catalog, by mentioning it on any object which supports tags. For example:
resource"random_string""example" {
length=5
}
resource"apstra_datacenter_connectivity_template_interface""test" {
blueprint_id=local.blueprint_idname="test"tags=[random_string.example.result] # <- never-before-seen tag value
}
If you want to tag things in the design API (e.g. generic systems within a rack-type), then the current workflows require that the tags exist as standalone objects in the design catalog.
If I've misunderstood your question, please take another crack at it :)
Hello!, would it be possible to add support for tag creation within a blueprint?. Currently when I push a tag creation via apstra_tag (Resource) it ends up in the global catalog (Design --> Tags).
I would like to limit the creation of a tag to a blueprint (Blueprints --> myblueprint --> Staged --> Catalog --> Tags), the idea would be to self-contain the tags that are too specific to the blueprint of interest and only push to Global Catalog when it makes sense.
The text was updated successfully, but these errors were encountered: