Sentinel Consuming Rest APIs

Hi,
Can some one please share options to fetch data (like approved AMI IDs) from outside of Sentinel ? One of the option is to use Custom Plug-in are there any other option?

Thanks
Saeed Aziz

Hey Saeed,

Right now the only way to do this is to have a combination of a data source (e.g, https://www.terraform.io/docs/providers/aws/d/ami.html) combined with the relevant filtering or whitelisting. It’s not ideal as you end up with the concerns and responsibilities mixed across both Terraform config and Sentinel policies.

We’re currently working on a feature that we expect to provide an alternative approach. Please drop me an email if you’d like to talk further about it and to see if you can beta test it as we get closer to release.

Best,
Glenn
Product Manager - Terraform Governance
ggillen @ hashicorp.com