CodeDeploy: allow specifying account/region when importing ServerDeploymentGroup
See original GitHub issueWhat is the problem?
CodeDeployServerDeployActionProps
does not include region
as an optional property. This is a problem because the region
property is required when specifying a CodeDeployServerDeployAction
that calls a deploymentGroup
that resides in a region that is different from that of the pipeline.
Reproduction Steps
// deployment group created in Region A const deployGroup = new ServerDeploymentGroup(this, ‘ID’, …props)
// CodeDeployServerDeployAction created in Region B const deployAction = new CodeDeployServerDeployAction({ actionName: ‘foo’, input: bar, deploymentGroup: deployGroup, })
What did you expect to happen?
Expected Action to reference the Region A in codepipeline.
What actually happened?
Codepipeline deploy action referenced the residing region of the codepipeline.
I was able to work around this on my local by adding region
as an optional parameter to CodeDeployServerDeployActionProps
CDK CLI Version
1.118
Framework Version
No response
Node.js Version
14.17.1
OS
NAME=“Ubuntu” VERSION=“18.04.4 LTS (Bionic Beaver)”
Language
Typescript
Language Version
3.7.5
Other information
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (5 by maintainers)
Top GitHub Comments
Thank you very much @skinny85, will try to get around to this next week!
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.