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

Unable to set enable_gatekeeper in 4.12 (also shown in CI) #1022

Closed
1 task done
wjam opened this issue Oct 4, 2022 · 1 comment
Closed
1 task done

Unable to set enable_gatekeeper in 4.12 (also shown in CI) #1022

wjam opened this issue Oct 4, 2022 · 1 comment

Comments

@wjam
Copy link
Contributor

wjam commented Oct 4, 2022

Description

I've just upgraded to 4.12 and previously working Terraform, which had enable_gatekeeper set to true, is now broken with this error:

│ Error: create: failed to create: namespaces "gatekeeper-system" not found
│ 
│   with module.eks_blueprints_kubernetes_addons.module.gatekeeper[0].module.helm_addon.helm_release.addon[0],
│   on .terraform/modules/eks_blueprints_kubernetes_addons/modules/kubernetes-addons/helm-addon/main.tf line 1, in resource "helm_release" "addon":
│    1: resource "helm_release" "addon" {
│ 

This is the same error that is appear in the failing CI test

  • ✋ I have searched the open/closed issues and my issue is not listed.

⚠️ Note

Before you submit an issue, please perform the following first:

  1. Remove the local .terraform directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): rm -rf .terraform/
  2. Re-initialize the project root to pull down modules: terraform init
  3. Re-attempt your terraform plan or apply and check if the issue still persists

Versions

  • Module version [Required]:

  • Module version [Required]: 4.8.1

  • Terraform version: v1.2.8

  • Provider version(s):

  • provider registry.terraform.io/gavinbunney/kubectl v1.14.0
  • provider registry.terraform.io/hashicorp/aws v4.29.0
  • provider registry.terraform.io/hashicorp/helm v2.6.0
  • provider registry.terraform.io/hashicorp/kubernetes v2.13.1
  • provider registry.terraform.io/hashicorp/time v0.8.0

Reproduction Code [Required]

Steps to reproduce the behavior:

See CI test

Expected behaviour

CI test should pass

Actual behaviour

Terminal Output Screenshot(s)

Additional context

@bryantbiggs
Copy link
Contributor

this is fixed in #1019 and available in v4.12.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants