My understanding is from serverless.yml the framework create two components for cloud formation :
- create stack json
- update stack json.
I want to know if its possible to add resources in create stack json. The idea is to put some resources within server less.yml for one time creation.
I don’t think so.
create-stack-json only creates the s3 bucket used internally by the framework to store deployment builds. All user defined resources are stored in update-stack-json. This is my understanding, please correct me if I’m wrong.
Btw, resources in update-stack-json are essentially created once, and managed by CloudFormation for future updates. Are you concerned with CF managing the resources?