fix: pass all relevant CLI flags to AWS provider (#719)

This commit is contained in:
Martin Linkhorst 2018-09-27 13:54:40 +02:00 committed by GitHub
parent 6d2b83cbf2
commit 7dbd6b0fa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

15
main.go
View File

@ -107,13 +107,14 @@ func main() {
case "aws":
p, err = provider.NewAWSProvider(
provider.AWSConfig{
DomainFilter: domainFilter,
ZoneIDFilter: zoneIDFilter,
ZoneTypeFilter: zoneTypeFilter,
BatchChangeSize: cfg.AWSBatchChangeSize,
BatchChangeInterval: cfg.AWSBatchChangeInterval,
AssumeRole: cfg.AWSAssumeRole,
DryRun: cfg.DryRun,
DomainFilter: domainFilter,
ZoneIDFilter: zoneIDFilter,
ZoneTypeFilter: zoneTypeFilter,
BatchChangeSize: cfg.AWSBatchChangeSize,
BatchChangeInterval: cfg.AWSBatchChangeInterval,
EvaluateTargetHealth: cfg.AWSEvaluateTargetHealth,
AssumeRole: cfg.AWSAssumeRole,
DryRun: cfg.DryRun,
},
)
case "aws-sd":