When working with [Test Kitchen](https://kitchen.ci), you have a couple of locations that you can set configuration.
The first is in your "global" configuration, stored in `$HOME/.kitchen/config.yml`, which is the base configuration that is used for any Test Kitchen interactions for that user. In a CI/CD setup, you may not have any control over this file.
The second option is actually available in your `.kitchen.yml` in your project.
Within the `.kitchen.yml`, you again have two options, globally and per-suite.
For instance, if we take the following example configuration:
If, for some reason, we needed to override the `use_sudo` property for specifically the `default` suite, we could make the following change:
```diff
suites:
- name: default
+ driver:
+ use_sudo: true
run_list:
- recipe[cookbook-spectat::default]
attributes:
spectat:
authorized_keys: ['fake-ssh-public-key']
```
In another example, we could be provisioning some software that has certain hardware requirements on AWS, at which point we could specific the AWS instance type in the configuration: