Skip to content

Commit

Permalink
feat: ✨ add console / gov-cloud to the yaml schema
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesChung committed Apr 9, 2023
1 parent 55ae7f7 commit 6d77536
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,14 @@ type ProfileConfig struct {
}

type ProfileServices struct {
Console ProfileServicesConsole `yaml:"console"`
CodeCommit ProfileServicesCodeCommit `yaml:"codecommit"`
}

type ProfileServicesConsole struct {
GovCloud bool `yaml:"gov-cloud"`
}

type ProfileServicesCodeCommit struct {
Repositories []string `yaml:"repositories"`
}
Expand All @@ -80,6 +85,9 @@ func Create() error {
AWSProfile: "default",
},
Services: ProfileServices{
Console: ProfileServicesConsole{
GovCloud: false,
},
CodeCommit: ProfileServicesCodeCommit{
Repositories: []string{},
},
Expand Down

0 comments on commit 6d77536

Please # to comment.