Code Monkey home page Code Monkey logo

2_tf-s3-demo-project's Introduction

S3 Bucket Terraform demo project

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.

Deployment

Modify Infracost SSM parameter store key name at buildspec-infracost.yml.

Deploy module as usual:

terraform init
terraform apply -auto-approve

Tier down

terraform destroy -auto-approve

Providers

Name Version
aws 5.31.0

Resources

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

Outputs

Name Description
bucket_id The name of the bucket.

2_tf-s3-demo-project's People

Contributors

antonionuma avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.