stackery create
stackery create
Create a new stack
Synopsis
Create a new stack. The new stack is created from the default blueprint, or from a blueprint given by the blueprint-git-url and blueprint-git-ref. Specify the git-provider 'none' to create a stack that is not linked to a remote Git repo.
stackery create --stack-name=<name> [flags]
Examples
Create a stack from a sample:
stackery create -n my-new-stack -p github --github-org MyUsername --blueprint-git-url https://github.com/stackery/sam-cron-demo
The stack contents are cloned into the user's GitHub account (assuming the GitHub username is 'MyUsername'), and the stack is included in the user's Stackery account.
Options
--bitbucket-owner string The team or user to be used for a Bitbucket repository
--bitbucket-project-key string The key of the project to be used for a Bitbucket team repository
--blueprint-git-ref string The branch or tag from which to clone the blueprint (default "master")
--blueprint-git-url string The remote repository URL from which to clone the blueprint
--blueprint-name string The name of a blueprint to clone
--codecommit-account string The AWS account in which the CodeCommit repo should be created
--codecommit-region string The AWS region in which the CodeCommit repo should be created
-p, --git-provider string The Git hosting provider; "github", "gitlab", "codecommit", "bitbucket", or "none" (default "none")
--github-org string The organization to be used for a GitHub repository
--gitlab-group string The group to be used for a GitLab repository
-h, --help help for create
--public The created repo should be public instead of private
-r, --repo-name string The name of the repository in which the blueprint should be saved
-n, --stack-name string The stack name
--use-existing Do not clone the repository, but use it as the basis for the stack directly
Options inherited from parent commands
--non-interactive Skip user inputs
SEE ALSO
- stackery - Stackery command line tool