Skip to content

Latest release (20.30.0) introduced a null error condition bug #3220

Description

@dhudson1

Description

After the introduction of 20.30.0, we are now unable to deploy when using the following specification to lock the version
down to a particular major release (but keeping options open for additional minor patches):

  version                                  = "~> 20.0"
  • ✋ I have searched the open/closed issues and my issue is not listed.

Versions

  • Module version [Required]:

  • Terraform version:
    Terraform v1.7.5

  • Provider version(s):

Terraform v1.7.5
on linux_amd64
+ provider registry.terraform.io/databricks/databricks v1.52.0
+ provider registry.terraform.io/hashicorp/aws v5.78.0
+ provider registry.terraform.io/hashicorp/cloudinit v2.3.5
+ provider registry.terraform.io/hashicorp/null v3.2.3
+ provider registry.terraform.io/hashicorp/random v3.6.3
+ provider registry.terraform.io/hashicorp/time v0.12.1
+ provider registry.terraform.io/hashicorp/tls v4.0.6

Reproduction Code [Required]

Steps to reproduce the behavior:

I am not using workspaces.

There is no local cache, as this is deployed (and destroyed) as part of a DevOps process on the cloud.

I simply re-ran my DevOps process which resulted in this failure.

Expected behavior

Deploying the EKS module should work assuming no extraneous failures from AWS or misconfiguration from our part.

Actual behavior

The build errors out with the following message:

╷
│ Error: Null condition
│ 
│   on .terraform/modules/eks/main.tf line 486, in locals:
│  486:   resolve_conflicts_on_create_default = var.bootstrap_self_managed_addons ? "OVERWRITE" : "NONE"
│     ├────────────────
│     │ var.bootstrap_self_managed_addons is null
│ 
│ The condition value is null. Conditions must either be true or false.
╵

Terminal Output Screenshot(s)

Additional context

This error appears to occur when the bootstrap_self_managed_addons is not explicitly passed to the module. Was this release tested with the default bootstrap_self_managed_addons provided?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions