[cdk-pipelines] CDK Pipeline Application deployment stage uses backslashes for Template URL on Windows #11405
Labels
@aws-cdk/pipelines
CDK Pipelines library
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
Adding an application deployment stage to a CDK Pipeline from Windows uses a backslash separator in the Template URL of the CloudFormation CHANGE_SET_REPLACE step, resulting in an 'Action Execution Failure'.
Reproduction Steps
Deployed a CDK Pipeline Stack with the following code:
Upon running the pipeline, the execution fails at the 'PreProd' CloudFormation CHANGE_SET_REPLACE action with the error:
Manually editing the Pipeline CHANGE_SET_REPLACE action and changing the backslash in the template URL to a forward slash allows the pipeline to execute successfully.
What did you expect to happen?
CDK Pipeline deployment to use forward-slashes in order to join directory names when creating the template URL to provide to the CHANGE_SET_REPLACE action.
What actually happened?
The Template URL provided to the CHANGE_SET_REPLACE step used backslashes to join the directory names, resulting in an error.
Environment
Other
Deployed using PowerShell as a Terminal from PyCharm.
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: