This is a demo project to illustrate, how to use tflint, Checkov, OPA, Terrascan, and Terratest to test Terraform project using CodeBuild and CodePipeline AWS services.
Check out How to use CodePipeline CICD pipeline to test Terraform article for more information.
Modify Infracost SSM parameter store key name at buildspec-infracost.yml.
Deploy module as usual:
terraform init
terraform apply -auto-approve
terraform destroy -auto-approve
Name | Version |
---|---|
aws | 3.63.0 |
Name | Type |
---|---|
aws_kms_key.this | resource |
aws_s3_bucket.test | resource |
aws_s3_bucket_policy.test | resource |
aws_s3_bucket_public_access_block.s3Public_test | resource |
aws_caller_identity.current | data source |
Name | Description |
---|---|
bucket_id | The name of the bucket. |