Skip to content

Commit

Permalink
change Imports -> Import
Browse files Browse the repository at this point in the history
  • Loading branch information
tjholm committed May 24, 2023
1 parent ec66e4c commit 3f8c58d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cloud/aws/deploy/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type AwsImports struct {

type AwsConfig struct {
ScheduleTimezone string `mapstructure:"schedule-timezone,omitempty"`
Imports AwsImports
Import AwsImports
config.AbstractConfig[*AwsConfigItem]
}

Expand Down
4 changes: 2 additions & 2 deletions cloud/aws/deploy/up.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ func (d *DeployServer) Up(request *deploy.DeployUpRequest, stream deploy.DeployS
case *deploy.Resource_Secret:
importArn := ""

if config.Imports.Secrets != nil {
importArn = config.Imports.Secrets[res.Name]
if config.Import.Secrets != nil {
importArn = config.Import.Secrets[res.Name]
}

secrets[res.Name], err = secret.NewSecretsManagerSecret(ctx, res.Name, &secret.SecretsManagerSecretArgs{
Expand Down

0 comments on commit 3f8c58d

Please sign in to comment.