Studies from the book AWS Certified Solutions Architect - Sutdy Guide.
- Database Services
To run the examples you should first make some configurations on AWS and on the configuration files on the local computer.
On IAM create an user. It'll give credentials: an access key and a secret access key.
On IAM create a Terraform Role and use the policy AdministratorAccess. That will give you permission to build every kind of resource that you are allowed to.
Modify the configuration files:
config
[default]
region = eu-west-1
output = json
[saa_c03_studies]
role_arn=arn:aws:iam::123456789012:role/your_terraform_role
source_profile=saa_c03_studies
credentials
[saa_c03_studies]
aws_access_key_id = MYAWESOME_CREDENTIAL
aws_secret_access_key = MY_AWESOME_SECRET_ACCESS_KEY_XXXXXXXXXXX
Simple
checkov --quiet -s -d .
With JUnit Output
checkov --quiet -s -o junitxml -d .
With Github Failed Only Output
checkov --quiet -s -o github_failed_only -d .