hashicorp / terraform-provider-kubernetes

Terraform Kubernetes provider
https://www.terraform.io/docs/providers/kubernetes/
Mozilla Public License 2.0
1.59k stars 969 forks source link

Feature: Add data source for kubernetes_api_service #2203

Closed srikanth2302 closed 1 month ago

srikanth2302 commented 1 year ago

Description

Request to add datasource for api service in kubernetes.

Potential Terraform Configuration

data "kubernetes_api_service" "example" {
  metadata {
    name = "terraform-example"
  }
}

References

Community Note

sheneska commented 1 year ago

Hi @srikanth2302 we will look into adding this feature!

In the meantime you can use the kubernetes_resource as a workaround. Link: https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/data-sources/resource

github-actions[bot] commented 2 months ago

Marking this issue as stale due to inactivity. If this issue receives no comments in the next 30 days it will automatically be closed. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. This helps our maintainers find and focus on the active issues. Maintainers may also remove the stale label at their discretion. Thank you!