{"repo":"inspec/inspec-aws","free":true,"listed":false,"github":"https://github.com/inspec/inspec-aws","clone":"git clone https://github.com/inspec/inspec-aws.git","description":"InSpec AWS Resource Pack https://www.inspec.io/","language":"Ruby","stars":146,"topics":["inspec","aws"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"InSpec for AWS Project State: Maintained For more information on project states and SLAs, see this documentation. This InSpec resource pack uses the AWS Ruby SDK v3 and provides the required resources to write tests for resources in AWS. Prerequisites AWS Credentials Valid AWS credentials are required, see AWS Documentation There are multiple ways to set the AWS credentials, as shown below: 1) Environment Variables Set your AWS credentials in a .envrc file or export them in your shell. (See example .envrc file) 2) Configuration File Set your AWS credentials in /.aws/config and /.aws/credentials file. (See example aws configure credentials) Example /.aws/credentials : Example /.aws/config : AWS SDK selects the default credentials unless aws profile is set in an .envrc . The credentials precedence is 1. Credentials set in .envrc OR as an Environment variable. 2. Credentials set in /.aws/credentials AND /.aws/config AND AWS PROFILE set as an Environment variable. 3. Credentials set in /.aws/credentials AND /.aws/config AND AWS PROFILE is NOT set as an Environment variable. Default credentials are used. AWS Region The aws region parameter queries resources in a specific region. If not provided, the AWS region set in environment variables or configuration files are used. Example: Assuming an IAM role Assuming an IAM role allows an IAM users gain additional (or different) permissions to perform actions in a different AWS account. (See example aws configure IAM role) Example: Permis","default_branch":null,"files":null,"tree":[],"storefront":"/r/inspec","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/inspec/inspec-aws/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}