Skip to content

Commit

Permalink
Corrected the API group name where the new resource is added.
Browse files Browse the repository at this point in the history
Signed-off-by: drew0ps <[email protected]>
  • Loading branch information
drew0ps committed Sep 4, 2024
1 parent 2654f90 commit 45d3e5a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions config/containerservice/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,13 @@ func Configure(p *config.Provider) {
Extractor: rconfig.ExtractResourceIDFuncPath,
}
})

p.AddResourceConfigurator("azurerm_kubernetes_cluster_extension", func(r *config.Resource) {
r.Kind = "KubernetesClusterExtension"
r.ShortGroup = "containerservice"
r.References["kubernetes_cluster_id"] = config.Reference{
TerraformName: "azurerm_kubernetes_cluster",
Extractor: rconfig.ExtractResourceIDFuncPath,
}
})
}

0 comments on commit 45d3e5a

Please sign in to comment.