provider: add provider-level default_labels and apply them across label-capable resources#557
Draft
pierre-emmanuelJ with Copilot wants to merge 2 commits into
Draft
provider: add provider-level default_labels and apply them across label-capable resources#557pierre-emmanuelJ with Copilot wants to merge 2 commits into
default_labels and apply them across label-capable resources#557pierre-emmanuelJ with Copilot wants to merge 2 commits into
Conversation
Copilot
AI
changed the title
[WIP] Add default_labels at provider level to tag all resources
provider: add provider-level Jun 17, 2026
default_labels and apply them across label-capable resources
pierre-emmanuelJ
marked this pull request as ready for review
June 18, 2026 16:27
pierre-emmanuelJ
marked this pull request as draft
June 18, 2026 16:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds provider-level
default_labelsso a workspace can define shared labels once and have them applied to resources that supportlabels. Resource-local labels still take precedence on key conflicts.Provider schema + config plumbing
default_labelsto both provider implementations (exoscaleSDKv2 and framework provider).Label merge/strip behavior
map[string]stringApplied to label-capable resources
Docs + focused tests
default_labels.Checklist
(For exoscale contributors)
Testing
Targeted unit/package test coverage was added for schema/helper behavior; full acceptance coverage is left to CI/maintainer validation.