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

Unexpected upstream (v18.26.5) breaking change #795

Closed
1 task done
tanvp112 opened this issue Jul 22, 2022 · 5 comments · Fixed by #796
Closed
1 task done

Unexpected upstream (v18.26.5) breaking change #795

tanvp112 opened this issue Jul 22, 2022 · 5 comments · Fixed by #796
Labels
bug Something isn't working

Comments

@tanvp112
Copy link

tanvp112 commented Jul 22, 2022

Welcome to Amazon EKS Blueprints!

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

Amazon EKS Blueprints Release version

v4.5.0

What is your environment, configuration and the example used?

https://github.com/aws-ia/terraform-aws-eks-blueprints/tree/main/examples/upstream-with-k8s-addons

What did you do and What did you see instead?

terraform init follow by terraform plan

 Error: Invalid index
│
│   on .terraform/modules/eks/main.tf line 211, in resource "aws_iam_openid_connect_provider" "oidc_provider":
│  211:   thumbprint_list = concat([data.tls_certificate.this[0].certificates[0].sha1_fingerprint], var.custom_oidc_thumbprints)
│     ├────────────────
│     │ data.tls_certificate.this[0].certificates is empty list of object
│
│ The given key does not identify an element in this collection value: the collection has no elements.

Additional Information

The data object is trying to get certificate from non-existence EKS (not yet create).
@tanvp112 tanvp112 added the bug Something isn't working label Jul 22, 2022
@FernandoMiguel
Copy link
Contributor

I just saw that and was in the process of debug.
thanks for opening the ticket

@FernandoMiguel
Copy link
Contributor

@FernandoMiguel
Copy link
Contributor

here's a bug report there terraform-aws-modules/terraform-aws-eks#2173

@FernandoMiguel
Copy link
Contributor

@bryantbiggs
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants