Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In a kubernetes_deployment_v1 with a service account, setting service_account_name = "" or none does not remove the existing service account #2433

Open
marcosdiez opened this issue Feb 23, 2024 · 0 comments
Assignees
Labels
acknowledged Issue has undergone initial review and is in our work queue. bug

Comments

@marcosdiez
Copy link

marcosdiez commented Feb 23, 2024

Terraform Version, Provider Version and Kubernetes Version

Terraform v1.5.5
on darwin_arm64
+ provider registry.terraform.io/hashicorp/kubernetes v2.26.0

Affected Resource(s)

  • kubernetes_deployment_v1

How to reproduce

  1. create or import a kubernetes_deployment_v1 with a service account (service_account_name = "something" )
  2. change service_account_name to "" or null
  3. terraform plan
  4. you will see that there are not changes

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
@marcosdiez marcosdiez added the bug label Feb 23, 2024
@iBrandyJackson iBrandyJackson added the acknowledged Issue has undergone initial review and is in our work queue. label Mar 28, 2024
@sheneska sheneska self-assigned this May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
acknowledged Issue has undergone initial review and is in our work queue. bug
Projects
None yet
Development

No branches or pull requests

3 participants