:-1:. Just pass in the new_resource as a variable... This won't scale and is error-prone.

```ruby
variables(config: new_resource)
```

Then in the template

```ruby
@config.whatever_value
```