From 6d7753669417438cd0f17b4bd24a8be4af909e24 Mon Sep 17 00:00:00 2001 From: James Chung Date: Sun, 9 Apr 2023 09:43:51 -0500 Subject: [PATCH] feat: :sparkles: add console / gov-cloud to the yaml schema --- internal/config/config.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/internal/config/config.go b/internal/config/config.go index 79ec8f0..ee46b61 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -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"` } @@ -80,6 +85,9 @@ func Create() error { AWSProfile: "default", }, Services: ProfileServices{ + Console: ProfileServicesConsole{ + GovCloud: false, + }, CodeCommit: ProfileServicesCodeCommit{ Repositories: []string{}, },