Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-9005

aws: When not specifying a region, module searches disabled ap-east-1, then fails


    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Zendesk Ticket IDs:
    • Zendesk Ticket Count:
    • Release Notes:
      Not Needed


      Basic Info
      Module Version: 2.1.0
      Puppet Version: PE 2018.1.4 / 5.5.6
      OS Name/Version: CentOS 7.4

      Describe your issue in as much detail as possible...

      Desired Behavior:

      When not specifying a region, the aws module searches all regions and ignores disabled regions.

      Actual Behavior:

      The module fails while searching in ap-east-1. This region was added by Amazon yesterday (25 April) and is disabled by default, unlike other regions: https://aws.amazon.com/blogs/aws/now-open-aws-asia-pacific-hong-kong-region/

      # puppet agent --test
      Info: Using configured environment 'production'
      Info: Retrieving pluginfacts
      Info: Retrieving plugin
      Info: Retrieving locales
      Info: Loading facts
      Info: Caching catalog for sha-prod-puppet.smartrg.aws
      Info: Unable to serialize catalog to json, retrying with pson
      Info: Applying configuration version '14735906a7610a1fda17ce56ed52a95ca4b5e84d'
      Error: Could not run: Puppet detected a problem with the information returned from AWS
      when looking up ec2_vpc in ap-east-1. The specific error was:
      AWS was not able to validate the provided access credentials
      Rather than report on ec2_vpc resources in an inconsistent state we have exited.
      This could be because some other process is modifying AWS at the same time.


          Issue Links



              • Assignee:
                sheena Sheena Tharakanparampil
                garrett.guillotte Garrett Guillotte
              • Votes:
                0 Vote for this issue
                5 Start watching this issue


                • Created:

                  Zendesk Support