What problem does it solve?
This Skill helps you implement canonical IdentityV2 and ExternalIdentifier behavior for direct Config Connector (KCC) resources so the resource’s GCP URL mapping is correct, stable, and matches the expected gcpurls.Template pattern.
Core Features & Use Cases
- IdentityV2 implementation for direct KCC resources: Creates the required identity file and wires it to the resource’s canonical identity model.
- Canonical GCP URL template parsing: Ensures GCP URL parsing and formatting follow the gcpurls.Template approach for reliable ExternalIdentifier behavior.
- Parent & hierarchy support: Handles resources that can exist in multiple hierarchy patterns (for example global vs regional) by using fields like Spec location presence to choose the right mapping and conversion logic.
- Journaling of template mapping complexities: Records multi-parent or multi-hierarchy mapping nuances into the appropriate journal file to preserve implementation knowledge.
Quick Start
Implement the IdentityV2 and ExternalIdentifier interfaces for your direct KCC resource by creating the apis/<service>/<api_version>/<resource_lower>_identity.go file using gcpurls.Template with your resource’s GCP URL template and API version.