fix: configure conformance tests

This commit is contained in:
2026-01-31 17:13:02 +01:00
parent 7cbcc3f04c
commit 4784f4c4d5
8 changed files with 47 additions and 94 deletions

View File

@@ -67,7 +67,7 @@ func (p *Plugin) LabelConfig() plugin.LabelConfig {
return plugin.LabelConfig{
// Default JSONPath query to extract label from resources
// Example for tagged resources: $.Tags[?(@.Key=='Name')].Value
DefaultQuery: "$.name",
DefaultQuery: "$.hostname",
// Override for specific resource types
ResourceOverrides: map[string]string{
@@ -256,7 +256,6 @@ func (p *Plugin) Update(ctx context.Context, req *resource.UpdateRequest) (*reso
if prior == nil {
p.Create(ctx, &resource.CreateRequest{
ResourceType: req.ResourceType,
Label: req.Label,
Properties: req.DesiredProperties,
TargetConfig: req.TargetConfig,
})