# Request to fix the terraform config so that it doesn't keep changing kubernetes\_deployment.api.spec.template.spec.priority\_class\_name every time

**URL:** <https://community.convox.com/t/request-to-fix-the-terraform-config-so-that-it-doesnt-keep-changing-kubernetes-deployment-api-spec-template-spec-priority-class-name-every-time/878>\
**Category:** Rack (Version 3)\
**Created:** [April 4, 2022, 3:17am UTC](https://community.convox.com/t/request-to-fix-the-terraform-config-so-that-it-doesnt-keep-changing-kubernetes-deployment-api-spec-template-spec-priority-class-name-every-time/878 "2022-04-04T03:17:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathan.f77](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/nathan.f77/32/256_2.png) [@nathan.f77](https://community.convox.com/u/nathan.f77)\
**Post date:** [April 4, 2022, 3:17am UTC](https://community.convox.com/t/request-to-fix-the-terraform-config-so-that-it-doesnt-keep-changing-kubernetes-deployment-api-spec-template-spec-priority-class-name-every-time/878/1 "2022-04-04T03:17:06Z")

</div>

I’ve been manually updating the Terraform config to add RDS, Elasticache, and S3 resources. Every time I run `terraform apply`, I see the following changes:

```auto

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # module.system.module.rack.module.api.module.k8s.kubernetes_deployment.api will be updated in-place
  ~ resource "kubernetes_deployment" "api" {
        id = "dse-cx3-3-system/api"
        # (1 unchanged attribute hidden)

      ~ spec {
            # (5 unchanged attributes hidden)

          ~ template {

              ~ spec {
                  - priority_class_name = "system-cluster-critical" -> null
                    # (12 unchanged attributes hidden)

                    # (3 unchanged blocks hidden)
                }
                # (1 unchanged block hidden)
            }
            # (2 unchanged blocks hidden)
        }
        # (1 unchanged block hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

```

Not a big deal, but it would just be nice if this could be fixed in a future update. Thanks!
