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
Prompt: &survey.Input{Message: "Enter the name of your cluster:", Default: clusterFlag},
154
121
Validate: validCluster,
155
122
},
156
-
{
157
-
Name: "storage",
158
-
Prompt: &survey.Input{Message: "Enter the name of the storage account to use for your stage, must be globally unique or already owned by your subscription:"},
159
-
Validate: utils.ValidateStorageAccountName,
160
-
},
161
123
{
162
124
Name: "region",
163
-
Prompt: &survey.Select{Message: "Enter the region you want to deploy to:", Default: "eastus", Options: locations},
125
+
Prompt: &survey.Select{Message: "Select the region you want to deploy to:", Default: "eastus", Options: locations},
164
126
Validate: survey.Required,
165
127
},
166
128
{
167
129
Name: "resource",
168
-
Prompt: &survey.Input{Message: "Enter the name of the resource group to use:"},
169
-
Validate: utils.ValidateResourceGroupName,
130
+
Prompt: &survey.Select{Message: "Select the resource group to use:", Options: groups},
131
+
Validate: survey.Required,
132
+
},
133
+
{
134
+
Name: "storage",
135
+
Prompt: &survey.Select{Message: "Select the storage account to use:", Options: accounts},
136
+
Validate: survey.Required,
170
137
},
171
138
}
172
139
@@ -443,7 +410,7 @@ func (az *AzureProvider) upsertStorageContainer(acc armstorage.Account, name str
443
410
u, _:=url.Parse(fmt.Sprintf(`https://%s.blob.core.windows.net`, accountName))
0 commit comments