Skip to content

Commit

Permalink
Merge pull request #58 from flanksource/imaserviceaccount-regions
Browse files Browse the repository at this point in the history
fix: pass region to iamserviceaccount command
  • Loading branch information
benjiro authored Sep 27, 2022
2 parents b68e8c4 + 4ff07a0 commit a1d6100
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/resource/iamserviceaccount/iamserviceaccount.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func Resource() *schema.Resource {
"--cluster", a.Cluster,
"--name", a.Name,
"--namespace", a.Namespace,
"--region", a.Region,
}

if a.OverrideExistingServiceAccounts {
Expand Down Expand Up @@ -55,6 +56,7 @@ func Resource() *schema.Resource {
"--cluster", a.Cluster,
"--name", a.Name,
"--namespace", a.Namespace,
"--region", a.Region,
}

return ctx.Delete(exec.Command("eksctl", args...))
Expand Down

0 comments on commit a1d6100

Please sign in to comment.