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

Apply failed when not enable Karpenter and/or Velero #148

Closed
1 task done
gohmc opened this issue May 1, 2023 · 0 comments · Fixed by #149
Closed
1 task done

Apply failed when not enable Karpenter and/or Velero #148

gohmc opened this issue May 1, 2023 · 0 comments · Fixed by #149

Comments

@gohmc
Copy link
Contributor

gohmc commented May 1, 2023

Description

Terraform plan failed with enable_karpenter = false and/or enable_velero = false

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

⚠️ Note

Terraform version: 1.4.6

Reproduction Code [Required]

Run test with either enable_karpenter = false and/or enable_velero = false.

Expected behaviour

Provision to success with any addon disabled.

Actual behaviour

Karpenter failed because the current code assumed the karpenter_instance_profile is always populated despite Karpeneter is not enable.

Velero failed because the current code assumed S3 details is always present despite Velero is not enable.

Terminal Output Screenshot(s)

Terraform failed with empty object error.

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

Successfully merging a pull request may close this issue.

1 participant