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

Commit

Permalink
Merge pull request #2 from kkeller-cb/main
Browse files Browse the repository at this point in the history
Update config struct with yaml tags
  • Loading branch information
yevgenypats committed Feb 16, 2021
2 parents 9aeb766 + 4ad0ce0 commit 8c26dc6
Showing 1 changed file with 5 additions and 5 deletions.
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

0 comments on commit 8c26dc6

Please sign in to comment.