question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No region for few services

See original GitHub issue

boto3.Session().get_available_regions is not returning any region for following services.

  1. appsync
  2. cloudsearchdomain
  3. connect
  4. dlm
  5. eks
  6. iot-jobs-data
  7. iotanalytics
  8. macie
  9. mobile
  10. mq
  11. pi
  12. transcribe

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rtkjbillocommented, Apr 2, 2020

Adding confirmation and details for EKS regions missing, using the bug report template:

Describe the bug Similar to https://github.com/boto/boto3/issues/1841, it looks like there is no local endpoint metadata for EKS in https://github.com/boto/botocore/blob/develop/botocore/data/endpoints.json and therefore the boto3.session.Session.get_available_regions('eks') call fails.

Steps to reproduce See below in debug logs section.

Expected behavior A list of available regions for EKS is returned. Please report this upstream (or let me know if I can do this directly.) Thanks!

Debug logs

>>> import boto3
>>> boto3.set_stream_logger('')
>>> session = boto3.session.Session(profile_name='dev')
2020-04-02 15:39:30,295 botocore.hooks [DEBUG] Changing event name from creating-client-class.iot-data to creating-client-class.iot-data-plane
2020-04-02 15:39:30,300 botocore.hooks [DEBUG] Changing event name from before-call.apigateway to before-call.api-gateway
2020-04-02 15:39:30,300 botocore.hooks [DEBUG] Changing event name from request-created.machinelearning.Predict to request-created.machine-learning.Predict
2020-04-02 15:39:30,303 botocore.hooks [DEBUG] Changing event name from before-parameter-build.autoscaling.CreateLaunchConfiguration to before-parameter-build.auto-scaling.CreateLaunchConfiguration
2020-04-02 15:39:30,303 botocore.hooks [DEBUG] Changing event name from before-parameter-build.route53 to before-parameter-build.route-53
2020-04-02 15:39:30,304 botocore.hooks [DEBUG] Changing event name from request-created.cloudsearchdomain.Search to request-created.cloudsearch-domain.Search
2020-04-02 15:39:30,305 botocore.hooks [DEBUG] Changing event name from docs.*.autoscaling.CreateLaunchConfiguration.complete-section to docs.*.auto-scaling.CreateLaunchConfiguration.complete-section
2020-04-02 15:39:30,307 botocore.hooks [DEBUG] Changing event name from before-parameter-build.cloudsearchdomain.Search to before-parameter-build.cloudsearch-domain.Search
2020-04-02 15:39:30,307 botocore.hooks [DEBUG] Changing event name from docs.*.cloudsearchdomain.Search.complete-section to docs.*.cloudsearch-domain.Search.complete-section
2020-04-02 15:39:30,308 botocore.hooks [DEBUG] Changing event name from before-parameter-build.logs.CreateExportTask to before-parameter-build.cloudwatch-logs.CreateExportTask
2020-04-02 15:39:30,308 botocore.hooks [DEBUG] Changing event name from docs.*.logs.CreateExportTask.complete-section to docs.*.cloudwatch-logs.CreateExportTask.complete-section
2020-04-02 15:39:30,308 botocore.session [DEBUG] Setting config variable for profile to 'dev'
>>> session.get_available_regions('eks')
2020-04-02 15:39:38,296 botocore.loaders [DEBUG] Loading JSON file: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/botocore/data/endpoints.json
2020-04-02 15:39:38,342 botocore.loaders [DEBUG] Loading JSON file: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/botocore/data/eks/2017-11-01/service-2.json
2020-04-02 15:39:38,346 botocore.loaders [DEBUG] Loading JSON file: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/botocore/data/eks/2017-11-01/service-2.sdk-extras.json
[]

cc @JordonPhillips who was able to reach out to upstream for the last similar issue.

0reactions
github-actions[bot]commented, Apr 6, 2022

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Managing AWS Regions - AWS General Reference
An AWS Region is a collection of AWS resources in a geographic area. Each AWS Region is isolated and independent of the other...
Read more >
Change your Apple ID country or region - Apple Support
What to do before you change your country or region. Spend any balance remaining on your Apple ID. If you're not sure whether...
Read more >
AWS Regions List: What It Is and How We Fixed It | Trek10
AWS Regional Services List makes deploying projects in multiple regions difficult. Read about the tool our team created to fix the AWS Regions...
Read more >
Google Cloud Platform | No Cloud Run Services shown on ...
Google Cloud Platform | No Cloud Run Services shown on specific region when creating back-end network endpoint group · Subscribe to RSS.
Read more >
Azure services that support availability zones - Microsoft Learn
Azure regions with availability zone support; Azure services with ... non-regional services, in Azure, see Products available by region.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found