Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

update plugin with yaml tags #2

Merged
merged 1 commit into from
Feb 16, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down