Amazon AWS - ECS pattern fails at step. 3.1. List ECS Clusters


Description

Amazon AWS - ECS pattern fails at step. 3.1. List ECS Clusters.

 

Error:

Exception occurred while executing operation Cloud REST - add response to context. Custom operation Failed to run script due to the following error: JAVASCRIPT_CODE_FAILURE: com.snc.sw.exception.CommandFailureException: Cloud request failed. URL: https://ecs.us-east-1.amazonaws.com/ Status: 403 Response: HttpResponseProxy{HTTP/1.0 403 Forbidden [Server: squid/3.1.23, Mime-Version: 1.0, Date: Tue, 27 Jul 2021 11:03:19 GMT, Content-Type: text/html, Content-Length: 3256, X-Squid-Error: ERR_ACCESS_DENIED 0, Vary: Accept-Language, Content-Language: en, X-Cache: MISS from proxy.bcbsmn.com, X-Cache-Lookup: NONE from proxy.bcbsmn.com:9119, Via: 1.0 plsprox1.bcbsmn.com (squid/3.1.23), Connection: close] org.apache.http.entity.BufferedHttpEntity@712ecdb2} (script_include:AwsApiCommand; line 132). Custom operation Failed to run script due to the following error: JAVASCRIPT_CODE_FAILURE: com.snc.sw.exception.CommandFailureException: Cloud request failed. URL: https://ecs.us-east-1.amazonaws.com

Release or Environment

Any

Resolution

1. Please check with your AWS admin if the AWS Credentials has proper access.
2. The account needs access to execute the DescribeRegions API call.
3. Do provide necessary privileges to the credential to execute the pattern without forbidden issues.

If the above are correct and validated then please work with your internal Network team to see if there is a firewall that blocks the connection on the Mid server.