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

fix region query endpoint #1208

Merged
merged 1 commit into from
May 15, 2023
Merged

Conversation

jchorl
Copy link
Contributor

@jchorl jchorl commented May 15, 2023

I suspect this was just typo'd initially, and it breaks e.g. the java sdk.

On ec2, old:

[josh@i-0600ab71d7a519927 ~]$ curl -v 169.254.169.254/latest/meta-data/dynamic/instance-identity/document > /dev/null
* Connected to 169.254.169.254 (169.254.169.254) port 80 (#0)
> GET /latest/meta-data/dynamic/instance-identity/document HTTP/1.1
> Host: 169.254.169.254
> User-Agent: curl/7.88.1
> Accept: */*
> 
< HTTP/1.1 404 Not Found
< Content-Type: text/html
< Content-Length: 339
< Date: Mon, 15 May 2023 10:49:36 GMT
< Server: EC2ws
< Connection: close
< 
{ [339 bytes data]

New:

[josh@i-0600ab71d7a519927 ~]$ curl -v 169.254.169.254/latest/dynamic/instance-identity/document > /dev/null
* Connected to 169.254.169.254 (169.254.169.254) port 80 (#0)
> GET /latest/dynamic/instance-identity/document HTTP/1.1
> Host: 169.254.169.254
> User-Agent: curl/7.88.1
> Accept: */*
> 
< HTTP/1.1 200 OK
< Content-Type: text/plain
< Accept-Ranges: none
< Last-Modified: Mon, 15 May 2023 10:41:58 GMT
< Content-Length: 474
< Date: Mon, 15 May 2023 10:49:52 GMT
< Server: EC2ws
< Connection: close
< 
{ [474 bytes data]

@mtibben mtibben merged commit 7583a83 into 99designs:master May 15, 2023
This pull request was closed.
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 this pull request may close these issues.

2 participants