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

Cannot import existing eks cluster with uppercase characters. #251

Closed
KaKeimei opened this issue Mar 19, 2021 · 2 comments · Fixed by #260
Closed

Cannot import existing eks cluster with uppercase characters. #251

KaKeimei opened this issue Mar 19, 2021 · 2 comments · Fixed by #260
Assignees

Comments

@KaKeimei
Copy link
Contributor

KaKeimei commented Mar 19, 2021

Summary

I tried to use an existing eks cluster. It contains uppercase alphabet characters. While creating s3 resources, I got an error that says something like bucket names must not contain uppercase characters

Steps to reproduce the behavior

Create an eks cluster with uppercase chars.
Import this cluster into jx module.

Expected behavior

successfully create jx module.

Actual behavior

Terraform fails on creating s3 bucket

Terraform version

The output of terraform version is:

Terraform v0.14.6

Your version of Terraform is out of date! The latest version
is 0.14.8. You can update by downloading from https://www.terraform.io/downloads.html

Module version

Operating system

maxos

@ankitm123
Copy link
Member

/assign

@ankitm123
Copy link
Member

Makes sense, s3 bucket names cannot have uppercase characters. See: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html. We should convert the upper case eks cluster name to lower case before naming the buckets.

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.

2 participants