From 23084fe171da503eb0e5a80e20867d027b3f3562 Mon Sep 17 00:00:00 2001 From: Matthew Hooker Date: Fri, 9 Jun 2017 10:41:58 -0700 Subject: [PATCH] dedupe --- builder/amazon/common/access_config.go | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/builder/amazon/common/access_config.go b/builder/amazon/common/access_config.go index 8f1440863..7dc19f0f1 100644 --- a/builder/amazon/common/access_config.go +++ b/builder/amazon/common/access_config.go @@ -19,29 +19,14 @@ type AccessConfig struct { AssumeRoleArn string `mapstructure:"assume_role_arn"` CustomEndpointEc2 string `mapstructure:"custom_endpoint_ec2"` ExternalID string `mapstructure:"external_id"` - ExternalID string `mapstructure:"external_id"` - MFACode string `mapstructure:"mfa_code"` MFACode string `mapstructure:"mfa_code"` MFASerial string `mapstructure:"mfa_serial"` - MFASerial string `mapstructure:"mfa_serial"` - ProfileName string `mapstructure:"profile"` ProfileName string `mapstructure:"profile"` RawRegion string `mapstructure:"region"` - RawRegion string `mapstructure:"region"` - SecretKey string `mapstructure:"secret_key"` SecretKey string `mapstructure:"secret_key"` SkipValidation bool `mapstructure:"skip_region_validation"` - SkipValidation bool `mapstructure:"skip_region_validation"` - Token string `mapstructure:"token"` Token string `mapstructure:"token"` session *session.Session - AccessKey string `mapstructure:"access_key"` - SecretKey string `mapstructure:"secret_key"` - RawRegion string `mapstructure:"region"` - SkipValidation bool `mapstructure:"skip_region_validation"` - Token string `mapstructure:"token"` - MFACode string `mapstructure:"mfa_code"` - session *session.Session } // Config returns a valid aws.Config object for access to AWS services, or