I would also add here `compute_profile_id`
```ruby
if compute_resource && compute_profile_id
```