terraform-aws-eks icon indicating copy to clipboard operation
terraform-aws-eks copied to clipboard

Can't create outposts cluster.

Open ripa79 opened this issue 1 year ago β€’ 7 comments

Description

Can't create outposts cluster. This is due https://github.com/terraform-aws-modules/terraform-aws-eks/blob/v20.2.1/main.tf#L43 cannot be changed. Error message is like: Error: creating EKS Cluster (): operation error EKS: CreateCluster, https response error StatusCode: 400, RequestID: xxx, InvalidParameterException: Local Amazon EKS cluster only supports bootstrapClusterCreatorAdminPermissions=true and authenticationMode=CONFIG_MAP for AccessConfig.

  • [x] βœ‹ I have searched the open/closed issues and my issue is not listed.

ripa79 avatar Feb 12 '24 17:02 ripa79

i managed to create the outposts local eks cluster with these changes: https://github.com/ripa79/terraform-aws-eks/commit/ebb166ab4b27bc873879f375672752c674bfe13a

ripa79 avatar Feb 28 '24 08:02 ripa79

We are having the same issue. Did you have any news about when you are going to change the hardcoded setting to be able to toggle it with the suggested var?

ValKiriann avatar Mar 06 '24 16:03 ValKiriann

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

github-actions[bot] avatar Apr 06 '24 00:04 github-actions[bot]

Please, post an update to this issue

ValKiriann avatar Apr 10 '24 09:04 ValKiriann

i have the fix in place in my own repo https://github.com/ripa79/terraform-aws-eks/commit/ebb166ab4b27bc873879f375672752c674bfe13a i need to check what is needed in order to put pull request to this repo...

ripa79 avatar Apr 10 '24 18:04 ripa79

Due to https://github.com/hashicorp/terraform/issues/24188 we cannot dynamically set lifecycle and outpost cluster requires this: https://github.com/ripa79/terraform-aws-eks/blob/changes_needed_for_outposts/main.tf#L30-L32 basically I'm stuck fixing this properly.

ripa79 avatar Apr 11 '24 12:04 ripa79

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

github-actions[bot] avatar May 12 '24 00:05 github-actions[bot]

This issue was automatically closed because of stale in 10 days

github-actions[bot] avatar May 23 '24 00:05 github-actions[bot]

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

github-actions[bot] avatar Jun 22 '24 02:06 github-actions[bot]