A Conftest plugin for validating AWS resources with Open Policy Agent.
To install the plugin, you can use the conftest plugin install command
:
conftest plugin install https://github.com/Blokje5/aws-conftest-plugin.git
To validate a resource you can specifiy the resource type along with an identifier to the conftest aws
command.
conftest aws ec2 <ec2-instance-id>
Currently, the following resources are supported
- ec2