how to set CodeBuild build commands when source is 'NO_SOURCE' #7342
Answered
by
jcode-hub
jcode-hub
asked this question in
Pulumi in Practice
-
Hi there, I use a CodeBuild project to rum an npm command against other AWS resources. I don't know how to provide the build commands if I don't use a source and therefore can not provide a buildspec.yml file. Is there any other way to provide build commands to a CodeBuild project? (Like the cdk does with inline code?) Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
jcode-hub
Jun 28, 2021
Replies: 1 comment
-
the way to go is to use different types of quotations
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jcode-hub
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the way to go is to use different types of quotations
` <- those will get you an inline style buildspec where you can input commands or even a complete buildspec with multiple phases.
" <- use those if you want to specify the path where the buildspec file is located.