How to execute inspec test cases specific to environments

Hi All,
we have pilot, prod and cloud environment where our tools stack is present.
i want to write inspec profiles to validate the readiness of the tools in all environment.
there is slight change in the environment settings in tools specific configuration to pilot,prod and cloud.
when i am setting some parameters say for pilot it will fail the tests on prod and cloud hence prevent re usability.
is there any better way to manage this?

You can pass in attributes with the -attrs in the inspec exec cli.
There is a good tutorial about this:

If this does not work for you then there are other ways to solve.

Thanks simark, it would help.