server can't find sts.eu-cental-1.amazonaws.com

1

Looks like record about sts.eu-cental-1.amazonaws.com is missed. I try to assume role in this region via terraform and also I used aws cli. If I specify this region I got error. If I change region to another one, all work perfectly. Example: nslookup sts.eu-cental-1.amazonaws.com Server: 172.26.224.1 Address: 172.26.224.1#53

** server can't find sts.eu-cental-1.amazonaws.com: NXDOMAIN

nslookup sts.eu-north-1.amazonaws.com Server: 172.26.224.1 Address: 172.26.224.1#53

Non-authoritative answer: Name: sts.eu-north-1.amazonaws.com Address: 52.46.200.7

2 Answers
2
Accepted Answer

Hi, fix your typo cental -> central and it should be fine!

nslookup sts.eu-central-1.amazonaws.com 
Server:		192.168.1.1
Address:	192.168.1.1#53

Non-authoritative answer:
Name:	sts.eu-central-1.amazonaws.com
Address: 54.239.54.207

Best, Didier

profile pictureAWS
EXPERT
answered a year ago
profile picture
EXPERT
reviewed a year ago
profile picture
EXPERT
reviewed a year ago
  • Thank you! I spend half day to this issue and didn't noticed.

0

I dont see an error with DNS, however make sure your STS Region is enabled in your Account.. Goto IAM, Account Settings, Scroll down to STS and ensure its set to Active. The other option in TF is to use a different STS Endpoint for the region i.e. Use Global

Non-authoritative answer:
Name:    sts.eu-central-1.amazonaws.com
Address:  54.239.54.197
profile picture
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions