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
feat: Implement DNS zone selection for AWS and Azure and update polly to the latest version (#713)
* use latest version of polly
* implement dropdown selection for Azure DNS zones in domain setup
* implement dropdown selection for AWS hosted zones in domain setup
* remove redundant DNS zone selection logic for AWS and Azure
* streamline GCP provider logic in DNS zone selection
message:="Enter the domain for your application. It's expected that the root domain already exist in your clouds DNS provider. Leave empty to ignore:"
248
-
ifproject.Provider==api.ProviderGCP {
249
-
message="Enter the DNS zone name for your application. This should be the DNS zone name already configured in your cloud's DNS provider. Leave empty to ignore:"
&survey.Select{Message: "Select DNS zone (leave as None to skip):", Options: append([]string{noneOption}, dnsZones...)},
274
+
&domain,
275
+
); err!=nil {
276
+
returnerr
277
+
}
278
+
279
+
ifdomain==noneOption {
280
+
domain=""
281
+
}
282
+
caseapi.ProviderGCP:
283
+
iferr:=survey.AskOne(&survey.Input{
284
+
Message: "Enter the DNS zone name for your application. This should be the DNS zone name already configured in your cloud's DNS provider. Leave empty to ignore:",
285
+
}, &domain); err!=nil {
286
+
returnerr
287
+
}
288
+
default:
289
+
iferr:=survey.AskOne(&survey.Input{
290
+
Message: "Enter the domain for your application. It's expected that the root domain already exist in your clouds DNS provider. Leave empty to ignore:",
0 commit comments