aws-region-table-parser icon indicating copy to clipboard operation
aws-region-table-parser copied to clipboard

consider using AWS SSM to query regions instead of html table

Open burib opened this issue 6 years ago • 1 comments
trafficstars

maybe first just implement both and do a diff to between the 2 outputs.

https://aws.amazon.com/blogs/aws/new-query-for-aws-regions-endpoints-and-more-using-aws-systems-manager-parameter-store/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+AmazonWebServicesBlog+%28Amazon+Web+Services+Blog%29

burib avatar May 28 '19 08:05 burib

all regions codes

aws ssm get-parameters-by-path \                                                                                                        at 12:45:23
  --path /aws/service/global-infrastructure/regions --output json | jq '[.Parameters | .[].Value]'

all regions count

aws ssm get-parameters-by-path \                                                                                                        at 12:45:23
  --path /aws/service/global-infrastructure/regions --output json | jq '[.Parameters | .[].Value] | length'

burib avatar Jul 02 '21 10:07 burib