Skip to content

Commit

Permalink
replace aws by awsgovcloud (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricleal-fugue committed Jan 6, 2022
1 parent 9ad842c commit 914243c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmd/createAwsEnvironment.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ func NewCreateAwsEnvironmentCommand() *cobra.Command {
}
case "aws_govcloud":
items = append(items, Item{"ROLE_ARN", env.ProviderOptions.AwsGovcloud.RoleArn})
if env.ProviderOptions.Aws.Region != "" {
if env.ProviderOptions.AwsGovcloud.Region != "" {
items = append(items, Item{"REGION", env.ProviderOptions.AwsGovcloud.Region})
} else if len(env.ProviderOptions.Aws.Regions) > 0 {
} else if len(env.ProviderOptions.AwsGovcloud.Regions) > 0 {
items = append(items, Item{"REGIONS", strings.Join(env.ProviderOptions.AwsGovcloud.Regions, ", ")})
}
}
Expand Down
4 changes: 2 additions & 2 deletions cmd/updateEnvironment.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ func NewUpdateEnvironmentCommand() *cobra.Command {
}
case "aws_govcloud":
items = append(items, Item{"ROLE_ARN", env.ProviderOptions.AwsGovcloud.RoleArn})
if env.ProviderOptions.Aws.Region != "" {
if env.ProviderOptions.AwsGovcloud.Region != "" {
items = append(items, Item{"REGION", env.ProviderOptions.AwsGovcloud.Region})
} else if len(env.ProviderOptions.Aws.Regions) > 0 {
} else if len(env.ProviderOptions.AwsGovcloud.Regions) > 0 {
items = append(items, Item{"REGIONS", strings.Join(env.ProviderOptions.AwsGovcloud.Regions, ", ")})
}
case "azure":
Expand Down
Binary file added fugue.zip
Binary file not shown.

0 comments on commit 914243c

Please sign in to comment.