Skip to content

Commit 4d46fc6

Browse files
committed
resource stack: use accountRole if stack role isn't set
1 parent 3f1f9ed commit 4d46fc6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

resource/stack.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ func (s Stack) RoleARN(acct Account) *string {
3535
return &result
3636
}
3737

38-
return nil
38+
acctRole := acct.AssumeRoleARN()
39+
return &acctRole
3940
}
4041

4142
func (s Stack) AWSRegionEnv() *string {

0 commit comments

Comments
 (0)