logstash-plugins / logstash-input-sqs

Apache License 2.0
16 stars 40 forks source link

AWS region "ap-south-1" not supported #29

Closed saarthakvats-mbk closed 6 years ago

saarthakvats-mbk commented 8 years ago

New region Asia Pacific (Mumbai) has been recently launched. SQS connect from logstash fails on region validation.

Invalid setting for sqs input plugin:

  input {
    sqs {
      # This setting must be a ["us-east-1", "us-west-1", "us-west-2", "eu-central-1", "eu-west-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2", "sa-east-1", "us-gov-west-1", "cn-north-1"]
      # Expected one of ["us-east-1", "us-west-1", "us-west-2", "eu-central-1", "eu-west-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2", "sa-east-1", "us-gov-west-1", "cn-north-1"], got ["ap-south-1"]
      region => "ap-south-1"
      ...
    }
  } {:level=>:error}
fetched an invalid config {:config=>"input {\n   sqs {\n     queue => \"myqueue\"\n     access_key_id => \"%%%%%%\"\n     secret_access_key => \"%%%%%\"\n     region => \"ap-south-1\"\n     type => \"events\"\n   }\n\n}\n\noutput {\n\n      stdout { codec => rubydebug }\n\n      if [type]==\"events\"{\n                elasticsearch {\n                        protocol => \"http\"\n                        document_type => \"events\"\n                        host => [\"172.31.27.76\", \"172.31.27.77\"]\n                        index => \"events\"\n                }\n        }\n}\n\n\n", :reason=>"Something is wrong with your configuration.", :level=>:error}
qhh0205 commented 7 years ago

This region is supported! You config file is wrong... missing queue=> filed