Difference between revisions of "Terraform plan after changing EKS cluster version"

From wikieduonline
Jump to navigation Jump to search
(Created page with ".../... <pre> Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: ~ update in-place +/...")
 
(No difference)

Revision as of 20:18, 1 December 2021

.../...

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following
symbols:
  ~ update in-place
+/- create replacement and then destroy
 <= read (data resources)

Terraform will perform the following actions:

  # module.eks.data.http.wait_for_cluster[0] will be read during apply
  # (config refers to values not yet known)
 <= data "http" "wait_for_cluster"  {
      ~ body             = "ok" -> (known after apply)
      ~ id               = "https://00A509249F043617AA6F36CF9F5BAF1B.gr7.us-east-2.eks.amazonaws.com/healthz" -> (known after apply)
      - insecure         = false -> null
      ~ response_headers = {
          - "Cache-Control"                     = "no-cache, private"
          - "Content-Length"                    = "2"
          - "Content-Type"                      = "text/plain; charset=utf-8"
          - "Date"                              = "Mon, 29 Nov 2021 20:53:44 GMT"
          - "X-Content-Type-Options"            = "nosniff"
          - "X-Kubernetes-Pf-Flowschema-Uid"    = "ac0a0b41-1d87-4560-9886-c4a4e95c9a1f"
          - "X-Kubernetes-Pf-Prioritylevel-Uid" = "7c9b3320-916e-419b-81da-e92ebe69f9fb"
        } -> (known after apply)
        # (3 unchanged attributes hidden)
    }

  # module.eks.aws_autoscaling_group.workers[0] will be updated in-place
  ~ resource "aws_autoscaling_group" "workers" {
        id                        = "education-eks-Ry318DCv-worker-group-120211129200533174100000016"
      ~ launch_configuration      = "education-eks-Ry318DCv-worker-group-120211129200525065400000015" -> (known after apply)
        name                      = "education-eks-Ry318DCv-worker-group-120211129200533174100000016"
        # (23 unchanged attributes hidden)

        # (6 unchanged blocks hidden)
    }

  # module.eks.aws_eks_cluster.this[0] will be updated in-place
  ~ resource "aws_eks_cluster" "this" {
        id                        = "education-eks-Ry318DCv"
        name                      = "education-eks-Ry318DCv"
        tags                      = {
            "Environment" = "training"
            "GithubOrg"   = "terraform-aws-modules"
            "GithubRepo"  = "terraform-aws-eks"
        }
      ~ version                   = "1.20" -> "1.21"
        # (10 unchanged attributes hidden)



        # (3 unchanged blocks hidden)
    }

  # module.eks.aws_launch_configuration.workers[0] must be replaced
+/- resource "aws_launch_configuration" "workers" {
      ~ arn                              = "arn:aws:autoscaling:us-east-2:624058868395:launchConfiguration:670e6a0f-74a8-470e-ab6a-c5261d755731:launchConfigurationName/education-eks-Ry318DCv-worker-group-120211129200525065400000015" -> (known after apply)
      ~ id                               = "education-eks-Ry318DCv-worker-group-120211129200525065400000015" -> (known after apply)
      ~ image_id                         = "ami-0c9f07c8fbe372099" -> "ami-014b0ee6a978b6ca5" # forces replacement
      + key_name                         = (known after apply)
      ~ name                             = "education-eks-Ry318DCv-worker-group-120211129200525065400000015" -> (known after apply)
      - vpc_classic_link_security_groups = [] -> null
        # (8 unchanged attributes hidden)

      + ebs_block_device {
          + delete_on_termination = (known after apply)
          + device_name           = (known after apply)
          + encrypted             = (known after apply)
          + iops                  = (known after apply)
          + no_device             = (known after apply)
          + snapshot_id           = (known after apply)
          + throughput            = (known after apply)
          + volume_size           = (known after apply)
          + volume_type           = (known after apply)
        }

      ~ metadata_options {
          ~ http_put_response_hop_limit = 1 -> (known after apply)
            # (2 unchanged attributes hidden)
        }

      ~ root_block_device {
          ~ throughput            = 0 -> (known after apply)
            # (5 unchanged attributes hidden)
        }
    }

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

─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions if you run

See also

Advertising: