Skip to content

Instantly share code, notes, and snippets.

@kjpark
Created June 22, 2022 20:02
Show Gist options
  • Select an option

  • Save kjpark/dcae8f8dd88cba1ccef47a51a4e4468d to your computer and use it in GitHub Desktop.

Select an option

Save kjpark/dcae8f8dd88cba1ccef47a51a4e4468d to your computer and use it in GitHub Desktop.

terraform plan


Terraform will perform the following actions:

  # kubernetes_manifest.eniconfig["us-east-1a"] is tainted, so must be replaced
-/+ resource "kubernetes_manifest" "eniconfig" {
      ~ object   = {
          ~ spec       = {
              ~ securityGroups = [
                  - [
                      - "sg-016bb1c2ae9edbf4d",
                    ],
                  + [
                      + "sg-016bb1c2ae9edbf4d",
                    ],
                ]
                # (1 unchanged element hidden)
            }
            # (3 unchanged elements hidden)
        }
        # (1 unchanged attribute hidden)
    }

  # kubernetes_manifest.eniconfig["us-east-1b"] is tainted, so must be replaced
-/+ resource "kubernetes_manifest" "eniconfig" {
      ~ object   = {
          ~ spec       = {
              ~ securityGroups = [
                  - [
                      - "sg-016bb1c2ae9edbf4d",
                    ],
                  + [
                      + "sg-016bb1c2ae9edbf4d",
                    ],
                ]
                # (1 unchanged element hidden)
            }
            # (3 unchanged elements hidden)
        }
        # (1 unchanged attribute hidden)
    }

  # kubernetes_manifest.eniconfig["us-east-1c"] is tainted, so must be replaced
-/+ resource "kubernetes_manifest" "eniconfig" {
      ~ object   = {
          ~ spec       = {
              ~ securityGroups = [
                  - [
                      - "sg-016bb1c2ae9edbf4d",
                    ],
                  + [
                      + "sg-016bb1c2ae9edbf4d",
                    ],
                ]
                # (1 unchanged element hidden)
            }
            # (3 unchanged elements hidden)
        }
        # (1 unchanged attribute hidden)
    }

  # kubernetes_manifest.eniconfig["us-east-1d"] is tainted, so must be replaced
-/+ resource "kubernetes_manifest" "eniconfig" {
      ~ object   = {
          ~ spec       = {
              ~ securityGroups = [
                  - [
                      - "sg-016bb1c2ae9edbf4d",
                    ],
                  + [
                      + "sg-016bb1c2ae9edbf4d",
                    ],
                ]
                # (1 unchanged element hidden)
            }
            # (3 unchanged elements hidden)
        }
        # (1 unchanged attribute hidden)
    }

Plan: 4 to add, 0 to change, 4 to destroy.
╷
│ Warning: This custom resource does not have an associated OpenAPI schema.
│
│   with kubernetes_manifest.eniconfig["us-east-1c"],
│   on eniconfig.tf line 21, in resource "kubernetes_manifest" "eniconfig":
│   21: resource "kubernetes_manifest" "eniconfig" {
│
│ We could not find an OpenAPI schema for this custom resource. Updates to this resource will cause a forced replacement.
│
│ (and 3 more similar warnings elsewhere)
╵

terraform apply

╷
│ Warning: This custom resource does not have an associated OpenAPI schema.
│
│   with kubernetes_manifest.eniconfig["us-east-1b"],
│   on eniconfig.tf line 21, in resource "kubernetes_manifest" "eniconfig":
│   21: resource "kubernetes_manifest" "eniconfig" {
│
│ We could not find an OpenAPI schema for this custom resource. Updates to this resource will cause a forced replacement.
│
│ (and 3 more similar warnings elsewhere)
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to kubernetes_manifest.eniconfig["us-east-1b"], provider "provider[\"registry.terraform.io/hashicorp/kubernetes\"]" produced an
│ unexpected new value: .object: wrong final value type: incorrect object attributes.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to kubernetes_manifest.eniconfig["us-east-1c"], provider "provider[\"registry.terraform.io/hashicorp/kubernetes\"]" produced an
│ unexpected new value: .object: wrong final value type: incorrect object attributes.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to kubernetes_manifest.eniconfig["us-east-1d"], provider "provider[\"registry.terraform.io/hashicorp/kubernetes\"]" produced an
│ unexpected new value: .object: wrong final value type: incorrect object attributes.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to kubernetes_manifest.eniconfig["us-east-1a"], provider "provider[\"registry.terraform.io/hashicorp/kubernetes\"]" produced an
│ unexpected new value: .object: wrong final value type: incorrect object attributes.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment