Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Customizing starter pipelines

Pragya Keshap answered on February 23, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers


Customizing starter pipelines

0

The AWS SAM CLI uses Cookiecutter templates when creating starter templates. For details about cookie cutter templates, Cookiecutter.

You can also customize the prompts that the AWS SAM CLI displays to users when creating pipeline configurations using the sam pipeline init command. To customize user prompts, do the following:

Create a questions.json file – The questions.json file must be in the root of the project respository. This is the same directory as the cookiecutter.json file. To view the schema for the questions.json file, see questions.json.schema. To view an example questions.json file, see questions.json.

Map question keys with cookiecutter names – Each object in the questions.json file needs a key that matches a name in the cookiecutter template. This key matching is how the AWS SAM CLI maps user prompt responses to the cookie cutter template. To see examples of this key matching, see the Example files section later in this topic.

Create a metadata.json file – Declare the number of stages the pipeline will have in the metadata.json file. The number of stages instructs the sam pipeline init command how many stages to prompt information about, or in the case of the --bootstrap option, how many stages to create infrastructure resources for. To view an example metadata.json file that declares a pipeline with two stages, see metadata.json.

Example projects 

Popularity 1/10 Helpfulness 1/10 Language whatever
Source: Grepper
Link to this answer
Share Copy Link
Contributed on Feb 23 2023
Pragya Keshap
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.