Skip to content

Commit

Permalink
tsuru_app_router: Set "app" field on read
Browse files Browse the repository at this point in the history
  • Loading branch information
wpjunior committed Mar 26, 2024
1 parent 3b481b9 commit 98d6099
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/provider/resource_tsuru_app_router.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ func resourceTsuruApplicationRouterRead(ctx context.Context, d *schema.ResourceD
return diag.Errorf("unable to get app %s: %v", appName, err)
}

d.Set("app", appName)

for _, router := range routers {
if name != router.Name {
continue
Expand Down

0 comments on commit 98d6099

Please sign in to comment.