Skip to content

[Bug]: Cannot use tofu apply to create terraform resources "as-is" #199

@ucfchandra

Description

@ucfchandra

Welcome to AWS Blueprints for Crossplane!

  • Yes, I've searched similar issues on GitHub and didn't find any.

AWS Blueprints for Crossplane Release version

First release

What is your environment, configuration and the example used?

Mac OS, example was the terraform bootstrap

What did you do and What did you see instead?

I attempted Tofu apply and got the following errors:

Warning: Helm release "argo-cd" 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_addons.module.argocd.helm_release.this[0],
│   on .terraform/modules/eks_blueprints_addons.argocd/main.tf line 9, in resource "helm_release" "this":
│    9: resource "helm_release" "this" {
│ 
╵
╷
│ Error: failed to create resource: Internal error occurred: failed calling webhook "mservice.elbv2.k8s.aws": failed to call webhook: Post "https://aws-load-balancer-webhook-service.kube-system.svc:443/mutate-v1-service?timeout=10s": no endpoints available for service "aws-load-balancer-webhook-service"
│ 
│   with module.eks_blueprints_addons.module.argocd.helm_release.this[0],
│   on .terraform/modules/eks_blueprints_addons.argocd/main.tf line 9, in resource "helm_release" "this":
│    9: resource "helm_release" "this" {

Additional Information

I was able to successfully work around this issue by changing `wait = true` to `wait = false` in the EKS Addons section under `argocd`

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions