From 4ad0ce08ea4777ff9ce56f8466b56f0399e99306 Mon Sep 17 00:00:00 2001 From: Kristopher Keller Date: Tue, 16 Feb 2021 11:08:59 -0700 Subject: [PATCH] update plugin with yaml tags --- provider.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/provider.go b/provider.go index 7245dcd89..4ba9c7c7f 100644 --- a/provider.go +++ b/provider.go @@ -55,14 +55,14 @@ type Provider struct { type Account struct { ID string - RoleARN string + RoleARN string `yaml:"role_arn"` } type Config struct { - Regions []string - Accounts []Account - LogLevel *string - MaxRetries *int + Regions []string `yaml:"regions"` + Accounts []Account `yaml:"accounts"` + LogLevel *string `yaml:"log_level"` + MaxRetries *int `yaml:"max_retries"` Resources []struct { Name string Other map[string]interface{} `yaml:",inline"`