Thanks to visit codestin.com
Credit goes to github.com

Skip to content

AWS TLV(il-central-1) Region is not supported #10433

Closed
@NathanelLevi

Description

@NathanelLevi

Hi!

We had an issue with setting up coder environment above EC2's in AWS TLV region.
We have our own coder server that is implemented in K8S cluster with only 1 pod.
And we have a template that is created with Terraform in order to set this remote DEV env for the users.

The problem is the fact that we are getting this error while trying to set up the EC2 instance in the TLV region:

2023-10-18 07:45:05.455 [warn]  run exited with error ...
    error= exchange token:
               github.com/coder/coder/v2/agent.(*agent).run
                   /home/runner/actions-runner/_work/coder/coder/agent/agent.go:576
             - POST [http://int-skai-coder-staging.internalk-stg.com/api/v2/workspaceagents/aws-instance-identity ](http://int-skai-coder-staging.internalk-stg.com/api/v2/workspaceagents/aws-instance-identity): unexpected status code 401: Invalid AWS identity.: Try logging in using 'coder login <url>'.
                Error: crypto/rsa: verification error

As I see in your implementation the TLV region Public RSA key is not there.

AWS identity implementation

Can you please add it and release a newer version with support for that?

Thanks in advanced

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions