deitch / aws-asg-roller

Manage rolling upgrades for AWS autoscaling groups
Apache License 2.0
57 stars 17 forks source link

Unexpected error describing ASGs, skipping: Unexpected and unknown AWS error when doing describe: MissingRegion #45

Closed dilshad18 closed 4 years ago

dilshad18 commented 4 years ago

Need help to fix the issue as per below error error Error adjusting AutoScaling Groups: Unexpected error describing ASGs, skipping: Unexpected and unknown AWS error when doing describe: MissingRegion: could not find region configuration 2020/06/29 10:20:27 Sleeping 180 seconds 2020/06/29 10:23:27 Error adjusting AutoScaling Groups: Unexpected error describing ASGs, skipping: Unexpected and unknown AWS error when doing describe: MissingRegion: could not find region configuration 2020/06/29 10:23:27 Sleeping 180 seconds

env vars Environment: ROLLER_AWS_REGION: eu-west-1 ## tried using based on error message ROLLER_ASG: xxx.40714093 ROLLER_CHECK_DELAY: 180 ROLLER_VERBOSE: true ROLLER_DELETE_LOCAL_DATA: true ROLLER_CAN_INCREASE_MAX: false ROLLER_ORIGINAL_DESIRED_ON_TAG: true ROLLER_KUBERNETES: true Role Permission { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "autoscaling:", "Resource": "" }, { "Effect": "Allow", "Action": [ "ec2:DescribeInstances", "ec2:DescribeLaunchTemplates" ], "Resource": "*" } ] }

dilshad18 commented 4 years ago

AWS_REGION should be used instead of ROLLER_AWS_REGION