Skip to content

tags: implement GCP/Azure TagProviders so --standard-file gates all clouds #32

Description

@stxkxs

cloudgov tags --standard-file now gates on the resource-tagging standard's content.required_by_surface.aws (cloudgov#31). The standard already carries .gcp and .azure required-key slices, but the tags audit is AWS-only — the cloud.TagProvider registry has commented GCP/Azure slots (internal/providers/registry.go Default()), and internal/cloud/aws/tags.go is the reference AuditTags implementation.

Do: implement cloud.TagProvider in internal/cloud/gcp/tags.go + internal/cloud/azure/tags.go, register the factories, and have LoadRequired (or a sibling) expose the per-cloud slices so each provider audits against required_by_surface.{gcp,azure}. Mock-tested per the existing tags pattern. Then the same --standard-file gate covers all three clouds with no command change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions