route53: set listHostedZonesByName property

This commit is contained in:
Girish Ramakrishnan
2018-05-07 11:27:24 -07:00
parent a1ab8b6aa8
commit 07b428f051
2 changed files with 2 additions and 0 deletions

View File

@@ -108,6 +108,7 @@ app.controller('SetupDNSController', ['$scope', '$http', '$timeout', 'Client', f
if (provider === 'route53') {
data.accessKeyId = $scope.dnsCredentials.accessKeyId;
data.secretAccessKey = $scope.dnsCredentials.secretAccessKey;
data.listHostedZonesByName = true; // use the new listHostedZoneByName API
} else if (provider === 'gcdns'){
try {
var serviceAccountKey = JSON.parse($scope.dnsCredentials.gcdnsKey.content);