├── .gitignore ├── 0_remote_state ├── .terraform-docs.yml ├── README.md ├── data.tf ├── dynamodb.tf ├── img │ └── Remote-state.png ├── main.tf ├── outputs.tf ├── provider.tf ├── s3.tf └── usage.md ├── 1_pipeline ├── .terraform-docs.yml ├── README.md ├── artifacts_s3.tf ├── buildspecs │ ├── buildspec.yml │ ├── checkov.yml │ ├── infracost.yml │ ├── opa.yml │ ├── terrascan.yml │ ├── terratest.yml │ └── tflint.yml ├── codebuild.tf ├── codepipeline.tf ├── data.tf ├── img │ └── CICD-pipeline-architecture.png ├── main.tf ├── provider.tf ├── ssm_parameters.tf ├── usage.md └── variables.tf └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/.gitignore -------------------------------------------------------------------------------- /0_remote_state/.terraform-docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/0_remote_state/.terraform-docs.yml -------------------------------------------------------------------------------- /0_remote_state/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/0_remote_state/README.md -------------------------------------------------------------------------------- /0_remote_state/data.tf: -------------------------------------------------------------------------------- 1 | data "aws_caller_identity" "current_account" {} 2 | -------------------------------------------------------------------------------- /0_remote_state/dynamodb.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/0_remote_state/dynamodb.tf -------------------------------------------------------------------------------- /0_remote_state/img/Remote-state.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/0_remote_state/img/Remote-state.png -------------------------------------------------------------------------------- /0_remote_state/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/0_remote_state/main.tf -------------------------------------------------------------------------------- /0_remote_state/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/0_remote_state/outputs.tf -------------------------------------------------------------------------------- /0_remote_state/provider.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/0_remote_state/provider.tf -------------------------------------------------------------------------------- /0_remote_state/s3.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/0_remote_state/s3.tf -------------------------------------------------------------------------------- /0_remote_state/usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/0_remote_state/usage.md -------------------------------------------------------------------------------- /1_pipeline/.terraform-docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/1_pipeline/.terraform-docs.yml -------------------------------------------------------------------------------- /1_pipeline/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/1_pipeline/README.md -------------------------------------------------------------------------------- /1_pipeline/artifacts_s3.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/1_pipeline/artifacts_s3.tf -------------------------------------------------------------------------------- /1_pipeline/buildspecs/buildspec.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/1_pipeline/buildspecs/buildspec.yml -------------------------------------------------------------------------------- /1_pipeline/buildspecs/checkov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/1_pipeline/buildspecs/checkov.yml -------------------------------------------------------------------------------- /1_pipeline/buildspecs/infracost.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/1_pipeline/buildspecs/infracost.yml -------------------------------------------------------------------------------- /1_pipeline/buildspecs/opa.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/1_pipeline/buildspecs/opa.yml -------------------------------------------------------------------------------- /1_pipeline/buildspecs/terrascan.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/1_pipeline/buildspecs/terrascan.yml -------------------------------------------------------------------------------- /1_pipeline/buildspecs/terratest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/1_pipeline/buildspecs/terratest.yml -------------------------------------------------------------------------------- /1_pipeline/buildspecs/tflint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/1_pipeline/buildspecs/tflint.yml -------------------------------------------------------------------------------- /1_pipeline/codebuild.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/1_pipeline/codebuild.tf -------------------------------------------------------------------------------- /1_pipeline/codepipeline.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/1_pipeline/codepipeline.tf -------------------------------------------------------------------------------- /1_pipeline/data.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/1_pipeline/data.tf -------------------------------------------------------------------------------- /1_pipeline/img/CICD-pipeline-architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/1_pipeline/img/CICD-pipeline-architecture.png -------------------------------------------------------------------------------- /1_pipeline/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/1_pipeline/main.tf -------------------------------------------------------------------------------- /1_pipeline/provider.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/1_pipeline/provider.tf -------------------------------------------------------------------------------- /1_pipeline/ssm_parameters.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/1_pipeline/ssm_parameters.tf -------------------------------------------------------------------------------- /1_pipeline/usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/1_pipeline/usage.md -------------------------------------------------------------------------------- /1_pipeline/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/1_pipeline/variables.tf -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hands-on-cloud/aws-codepipeline-terraform-cicd-pipeline/HEAD/README.md --------------------------------------------------------------------------------