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
flags.StringVarP(&createFlags.Description.Value, createFlags.Description.Name, "d", "", "A summary explaining the use of the account to other users.")
96
98
flags.StringVar(&createFlags.AccessKey.Value, createFlags.AccessKey.Name, "", "The AWS access key to use when authenticating against Amazon Web Services.")
97
99
flags.StringVar(&createFlags.SecretKey.Value, createFlags.SecretKey.Name, "", "The AWS secret key to use when authenticating against Amazon Web Services.")
100
+
flags.StringVar(&createFlags.Region.Value, createFlags.Region.Name, "", "The AWS region to use for this account.")
98
101
flags.StringArrayVarP(&createFlags.Environments.Value, createFlags.Environments.Name, "e", nil, "The environments that are allowed to use this account")
99
102
flags.StringVarP(&descriptionFilePath, "description-file", "D", "", "Read the description from `file`")
Help: "The AWS secret key to use when authenticating against Amazon Web Services.",
79
79
}).AnswerWith("testpassword124")
80
80
81
+
_=qa.ExpectQuestion(t, &survey.Input{
82
+
Message: "Region",
83
+
Help: "The AWS region to use for this account.",
84
+
}).AnswerWith("us-east-1")
85
+
81
86
_=qa.ExpectQuestion(t, &survey.MultiSelect{
82
87
Message: "Choose the environments that are allowed to use this account.\nIf nothing is selected, the account can be used for deployments to any environment.",
0 commit comments