You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See the sample [here](../source/restacker-sample.yml).
4
+
5
+
## STRUCTURE
6
+
In order for Restacker to work as expected, the following key:value pairs are required:
7
+
-`:default:`: specifies the default location/plane for all Restacker operations. This is intended to save you from having to specify the required `-l <location>` everytime.
8
+
-`:label:`: the name of the default location.
9
+
-`:ctrl: &ctrl_default`: default configuration for the Control Account
10
+
-`:label:`: name of the account
11
+
-`:role-name:`
12
+
-`:role-prefix:`
13
+
-`:bucket:`: S3 Bucket configuration to read/consume files from.
14
+
-`:name:`: Bucket name
15
+
-`:prefix:`: **optional** bucket prefix/path
16
+
-`:ami_key:`: **optional** name of object on S3 that contains list of approved AMIs
17
+
-`:Account_Name:`: name of target account
18
+
-`:region:`: default region to deploy instances in (e.g. `us-west-2`)
19
+
-`:ctrl:`: control account for this account
20
+
-`<<: *ctrl_default`: if the control account is the default account specified in `&ctrl_default`, then just insert default configurations here
o.on('-l LOCATION','--location=LOCATION','Where to deploy, ksp, kvp, kcp...')do |location|
51
+
o.on('-l LOCATION','--location=LOCATION','Target Location or Plane to deploy to')do |location|
51
52
opts[:location]=location
52
53
end
53
54
@@ -63,7 +64,7 @@ class Parser
63
64
opts[:options]=options
64
65
end
65
66
66
-
o.on('-p PARAMS','--params=PARAMS','Parameters to override current stack parameters in the form of','k1=v1,k2=v2. E.g., -p AmiId=ami-a4jd7928')do |params|
67
+
o.on('-p PARAMS','--params=PARAMS','Parameters to override current stack parameters in the form of','k1=v1,k2=v2. E.g., -p AmiId=ami-a1b2c3d4')do |params|
67
68
opts[:params]=params
68
69
end
69
70
@@ -116,36 +117,32 @@ begin
116
117
action=unparsed.pop
117
118
puts(VERSION) || exit(0)ifoptions[:version]
118
119
usage("Please specify an ACTION") && exit(0)ifaction.nil?
0 commit comments