What is the meaning of version=0.1
(or indeed, version=x.x
for some other version) at the top of the AWS SAM CLI configuration file?
I've looked through a couple of AWS docs and can't seem to find an explanation for what the version
means/does: Optimizing serverless development with samconfig and AWS SAM CLI configuration file
I've also sifted through all SO posts containing "samconfig.toml" & searched Google but cannot find anything explaining what the version is or why it's needed.
I can see that it is indeed needed because if I don't have it I get this error:
Error: Error reading configuration: 'version' key is not present or is in unrecognized format.
I'm not stuck. I've popped in version=0.1
at the top of my file and it got me past the above error. But I'd rather learn what this thing is vs. blindly copy over the boilerplate and fall into the habit of cargo cult programming.