You may get this error if your region is specified incorrectly, for example ap-south-2 instead of ap-southeast-2.
ap-south-2
ap-southeast-2