Skip to content

Commit

Permalink
resource stack: use accountRole if stack role isn't set
Browse files Browse the repository at this point in the history
  • Loading branch information
dschofie committed Apr 25, 2024
1 parent 3f1f9ed commit 90a7775
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resource/stack.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ func (s Stack) RoleARN(acct Account) *string {
return &result
}

return nil
acctRole := acct.AssumeRoleARN()
return &acctRole
}

func (s Stack) AWSRegionEnv() *string {
Expand Down

0 comments on commit 90a7775

Please sign in to comment.