Skip to content

Commit

Permalink
chore: Include reservation template ID in Floorplan
Browse files Browse the repository at this point in the history
  • Loading branch information
avitova authored and ezr-ondrej committed Oct 17, 2023
1 parent f4f2a99 commit fb7e8b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deploy/clowdapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ objects:
d.detail -> 'instance_type' as type,
d.detail -> 'region' as region,
d.detail -> 'amount' as amount,
d.detail -> 'launch_template_id' is not null as template
d.detail -> 'launch_template_id' as template
from reservations r
join aws_reservation_details d on r.id = d.reservation_id
join accounts a on r.account_id = a.id
Expand All @@ -483,9 +483,9 @@ objects:
join azure_reservation_details d on r.id = d.reservation_id
join accounts a on r.account_id = a.id
where provider = provider_type_azure())
union all
(select 'gcp' as provider,
r.id,
r.created_at,
Expand All @@ -498,7 +498,7 @@ objects:
d.image_id,
d.detail -> 'machine_type' as type,
d.detail -> 'amount' as amount,
d.detail -> 'launch_template_id' is not null as template
d.detail -> 'launch_template_id' as template
from reservations r
join gcp_reservation_details d on r.id = d.reservation_id
join accounts a on r.account_id = a.id
Expand Down

0 comments on commit fb7e8b9

Please sign in to comment.