-
Notifications
You must be signed in to change notification settings - Fork 0
/
questions.json
134 lines (134 loc) · 3.93 KB
/
questions.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"questions": [{
"key": "intro",
"question": "\nThis template configures a pipeline that deploys a serverless application to a testing and a production stage.\n",
"kind": "info"
}, {
"key": "main_git_branch",
"question": "What is the git branch used for production deployments?",
"default": "main"
}, {
"key": "sam_template",
"question": "What is the template file path?",
"default": "template.yaml"
}, {
"key": "message_stage_name",
"question": "We use the stage name to automatically retrieve the bootstrapped resources created when you ran `sam pipeline bootstrap`.\n",
"kind": "info"
}, {
"key": "message_list_stage_names_testing",
"question": {
"keyPath": ["stage_names_message"]
},
"kind": "info"
}, {
"key": "testing_stage_name",
"question": "What is the name of stage 1 (as provided during the bootstrapping)?\nSelect an index or enter the stage name",
"isRequired": true
}, {
"key": "testing_stack_name",
"question": "What is the sam application stack name for stage 1?",
"isRequired": true,
"default": "sam-app"
}, {
"key": "testing_pipeline_execution_role",
"question": "What is the pipeline execution role ARN for stage 1?",
"isRequired": true,
"default": "$AWS_OIDC_ROLE_ARN"
}, {
"key": "testing_cloudformation_execution_role",
"question": "What is the CloudFormation execution role ARN for stage 1?",
"isRequired": false,
"allowAutofill": true,
"default": {
"keyPath": [
{ "valueOf": "testing_stage_name"},
"cloudformation_execution_role"
]
}
}, {
"key": "testing_artifacts_bucket",
"question": "What is the S3 bucket name for artifacts for stage 1?",
"isRequired": true,
"allowAutofill": true,
"default": {
"keyPath": [
{ "valueOf": "testing_stage_name"},
"artifacts_bucket"
]
}
}, {
"key": "testing_region",
"question": "What is the AWS region for stage 1?",
"isRequired": true,
"allowAutofill": true,
"default": {
"keyPath": [
{ "valueOf": "testing_stage_name"},
"region"
]
}
}, {
"key": "message_testing_stage_configured",
"question": "Stage 1 configured successfully, configuring stage 2.\n",
"kind": "info"
}, {
"key": "message_list_stage_names_prod",
"question": {
"keyPath": ["stage_names_message"]
},
"kind": "info"
}, {
"key": "prod_stage_name",
"question": "What is the name of stage 2 (as provided during the bootstrapping)?\nSelect an index or enter the stage name",
"isRequired": true
}, {
"key": "prod_stack_name",
"question": "What is the sam application stack name for stage 2?",
"isRequired": true,
"default": "sam-app"
}, {
"key": "prod_pipeline_execution_role",
"question": "What is the pipeline execution role ARN for stage 2?",
"isRequired": true,
"allowAutofill": true,
"default": {
"keyPath": [
{ "valueOf": "prod_stage_name"},
"pipeline_execution_role"
]
}
}, {
"key": "prod_cloudformation_execution_role",
"question": "What is the CloudFormation execution role ARN for stage 2?",
"isRequired": false,
"allowAutofill": true,
"default": "$AWS_OIDC_ROLE_ARN"
}, {
"key": "prod_artifacts_bucket",
"question": "What is the S3 bucket name for artifacts for stage 2?",
"isRequired": true,
"allowAutofill": true,
"default": {
"keyPath": [
{ "valueOf": "prod_stage_name"},
"artifacts_bucket"
]
}
}, {
"key": "prod_region",
"question": "What is the AWS region for stage 2?",
"isRequired": true,
"allowAutofill": true,
"default": {
"keyPath": [
{ "valueOf": "prod_stage_name"},
"region"
]
}
}, {
"key": "message_prod_stage_configured",
"question": "Stage 2 configured successfully.\n",
"kind": "info"
}]
}