I want to write a chef recipe that will set the hostname of the EC2 instance as :

```
AWSRegionInstanceTyperandomNo

```

like `awsedev001`

how can I do this in a chef recipe? Do we have any recipe for that ?

Please help