sam init

From wikieduonline
Jump to navigation Jump to search

sam init command creates an application with sample code, unit tests, and the SAM template itself. It also allows you to initialize SAM applications using a custom structure so you can standardize them across teams and organizations.[1]

sam init

	SAM CLI now collects telemetry to better understand customer needs.

	You can OPT OUT and disable telemetry collection by setting the
	environment variable SAM_CLI_TELEMETRY=0 in your shell.
	Thanks for your help!

	Learn More: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-telemetry.html

Which template source would you like to use?
	1 - AWS Quick Start Templates
	2 - Custom Template Location
Choice: 2

Template location (git, mercurial, http(s), zip, path):

See also[edit]

Advertising: