You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using CodeDeploy with this action, the resulting deployment link seems to always redirect to the us-east-2 region, despite having the correct region in the URL.
This does not occur for non-CodeDeploy deployment URLs -- the link to the EC2 console leads to the correct region.
Example URL that always redirects to us-east-2: https://console.aws.amazon.com/codesuite/codedeploy/deployments/DEPLOYMENT_ID?region=eu-central-1
This redirects to https://us-east-2.console.aws.amazon.com/codesuite/codedeploy/deployments/DEPLOYMENT_ID even if the user had previously been in the eu-central-1 region. This leads to confusion from the resulting DeploymentDoesNotExistException (until the user realizes they're in the wrong region now).
core.info(`Deployment started. Watch this deployment's progress in the AWS CodeDeploy console: https://console.aws.amazon.com/codesuite/codedeploy/deployments/${createDeployResponse.deploymentId}?region=${aws.config.region}`);
I am not sure why the other URL created for non-CodeDeploy in
core.info(`Deployment started. Watch this deployment's progress in the Amazon ECS console: https://${consoleHostname}/ecs/home?region=${aws.config.region}#/clusters/${clusterName}/services/${service}/events`);
does not have the same problem for us.
The text was updated successfully, but these errors were encountered:
When using CodeDeploy with this action, the resulting deployment link seems to always redirect to the
us-east-2
region, despite having the correct region in the URL.This does not occur for non-CodeDeploy deployment URLs -- the link to the EC2 console leads to the correct region.
Example URL that always redirects to
us-east-2
:https://console.aws.amazon.com/codesuite/codedeploy/deployments/DEPLOYMENT_ID?region=eu-central-1
This redirects to
https://us-east-2.console.aws.amazon.com/codesuite/codedeploy/deployments/DEPLOYMENT_ID
even if the user had previously been in theeu-central-1
region. This leads to confusion from the resultingDeploymentDoesNotExistException
(until the user realizes they're in the wrong region now).This URL is constructed by this line of code:
amazon-ecs-deploy-task-definition/index.js
Line 224 in 61cb3a1
I am not sure why the other URL created for non-CodeDeploy in
amazon-ecs-deploy-task-definition/index.js
Line 35 in 61cb3a1
The text was updated successfully, but these errors were encountered: