Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Gardenctl fails for AWS - hardcoded instance type #193

Closed
danielfoehrKn opened this issue Apr 24, 2020 · 1 comment · Fixed by #194
Closed

Gardenctl fails for AWS - hardcoded instance type #193

danielfoehrKn opened this issue Apr 24, 2020 · 1 comment · Fixed by #194
Assignees

Comments

@danielfoehrKn
Copy link

Describe the bug
Currently for AWS the instance-type t2 is hardcoded when creating the bastion instance.

Depending on the AWS region, the T2 instance type is unavailable and leads the following error.
It was not immediately clear to me that this is the raw error from the awscli:

(3/4) Creating bastion host

An error occurred (Unsupported) when calling the RunInstances operation: The requested configuration is currently not supported. Please check the documentation for supported configurations.

To Reproduce
Steps to reproduce the behavior:
Execute gardenctl ssh for a node in the AWS region eu-north-1

Expected behavior

Gardenctl should check that the T2 instance type is available in the given region of the node.
If not it should either

  • return an error stating the available instance types & lets the user pick one.
  • pick an available instance type

Screenshots
If applicable, add screenshots to help explain your problem.

Gardenctl Version (please complete the following information):

Additional context
Add any other context about the problem here.

@neo-liang-sap
Copy link
Contributor

please assign this issue to me, thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants