How to deploy application code to ElasticBeanstalk with CDK #26124
Unanswered
DimitriosKay
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Following this walkthrough of the Pipeline setup:
https://www.buildon.aws/tutorials/deploy-webapp-eb-cdk
(Open to alternative methods of deploying application code to ElasticBeanstalk when cdk and the app code are in a mono-repo (cdk is in a subfolder under the original app directory))
I have two stacks which set up infra for:
My file structure in repo (and when Pipeline construct pulls it down) is:
root (where my app's package.json is)
-- infra (where all of cdk is)
-- others
Problem I'm facing is:
when I try to call the Asset module (as suggested in the tutorial above), it does not allow me to get back to where the folder pulled down by the pipeline construct is.
Snippet example:
"git_repo_name" translates to where the Pipeline construct should be pulling to
Error observed when I try to set the path outside of the current directory:
Beta Was this translation helpful? Give feedback.
All reactions