awslabs / crossplane-on-eks

Crossplane bespoke composition blueprints for AWS resources
Apache License 2.0
322 stars 111 forks source link

feat: Upgrading #112

Closed candonov closed 1 year ago

candonov commented 1 year ago

What does this PR do?

Motivation

Upgrades and preparation for terraform blueprints v5.

More

Note:

For Moderators

Additional Notes

csantanapr commented 1 year ago

@candonov Getting error when deploying

module.eks_blueprints_kubernetes_addons.module.prometheus[0].module.helm_addon.helm_release.addon[0]: Still creating... [3m0s elapsed]

....
╷
│ Warning: Helm release "prometheus" was created but has a failed status. Use the `helm` command to investigate the error, correct it, then run Terraform again.
│ 
│   with module.eks_blueprints_kubernetes_addons.module.prometheus[0].module.helm_addon.helm_release.addon[0],
│   on .terraform/modules/eks_blueprints_kubernetes_addons/modules/helm-addon/main.tf line 1, in resource "helm_release" "addon":
│    1: resource "helm_release" "addon" {
│ 
╵

╷
│ Error: timed out waiting for the condition
│ 
│   with module.eks_blueprints_kubernetes_addons.module.prometheus[0].module.helm_addon.helm_release.addon[0],
│   on .terraform/modules/eks_blueprints_kubernetes_addons/modules/helm-addon/main.tf line 1, in resource "helm_release" "addon":
│    1: resource "helm_release" "addon" {
│ 
candonov commented 1 year ago

@csantanapr, can you check the status of the Prometheus pods? Why are they not coming up?

candonov commented 1 year ago

@csantanapr I implemented a workaround the terraform helm_release provider. The cluster and add-ons creation is fast now. Please have another look. It is ready to merge if no other issues arise.