Is there an example for function-free deployment template? #12209
-
I am using the template for gcp services. Later I found out that I only wanted to deploy resources rather than functions. I do not find such an example in the repo. Currently, I tried a few ways of modification e.g. leaving functions section empty, and commenting on all package. functions section, but none of them worked. for now, my workaround is to create a dummy function. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Considering it has been two months, Is there any feedback on the question? |
Beta Was this translation helpful? Give feedback.
-
Hi @EricPyZhou , Answering by my own experience, seems like the only resource you can update separately are functions i.e There is a relation with CloudFormation that requires updating the full stack. I already spent a lot of time on this topic without success. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Hi @EricPyZhou ,
Answering by my own experience, seems like the only resource you can update separately are functions i.e
sls deploy -f <function_name>
.There is a relation with CloudFormation that requires updating the full stack.
I already spent a lot of time on this topic without success.