A Terraform module for creating AMS CodeSuite (AWS CodeCommit, AWS CodeBuild, AWS CodeDeploy, AWS CodePipeline) infrastructure.
Name | Type |
---|---|
aws_cloudwatch_event_rule.cloudwatch_events_rule | resource |
aws_cloudwatch_event_target.cloudwatch_event_target | resource |
aws_codebuild_project.build_codebuild_project | resource |
aws_codebuild_project.deploy_codebuild_project | resource |
aws_codebuild_project.docker_codebuild_project | resource |
aws_codecommit_repository.codecommit_repository | resource |
aws_codepipeline.codepipeline_pipeline | resource |
aws_ecr_repository.build_ecr_repository | resource |
aws_ecr_repository.deploy_ecr_repository | resource |
aws_s3_bucket.artifact_store_s3_bucket | resource |
aws_caller_identity.current | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
aws_region | AWS region to deploy to | string |
"us-east-1" |
no |
build_build_spec | Location of the buildspec.yml for the 'Build' stage. | string |
"codebuild/build/buildspec.yml" |
no |
cloudwatch_role_arn | The ARN of the Amazon CloudWatch Events service role. | string |
n/a | yes |
cloudwatch_role_name | Name of the Amazon CloudWatch Events service role. | string |
"cloudwatch-events-service-role" |
no |
codebuild_role_arn | The ARN of the AWS CodeBuild service role. | string |
n/a | yes |
codebuild_role_name | Name of the AWS CodeBuild service role. | string |
"codebuild-service-role" |
no |
codepipeline_role_arn | The ARN of the AWS CodePipeline service role. | string |
n/a | yes |
codepipeline_role_name | Name of the AWS CodePipeline service role. | string |
"codepipeline-service-role" |
no |
deploy_build_spec | Location of the buildspec.yml for the 'Deploy' stage. | string |
"codebuild/deploy/buildspec.yml" |
no |
destination_account_ids | Account IDs of the AWS accounts to which to deploy. EXAMPLES Multi-account {"operations": "", "sandbox": "", "production": ""}Single-account {"current": ""}If a value is an empty string (""), the deployment is executed in the current account. The current key is used to designate the case in which a deployment is only to be made in the current account. |
map(string) |
{"current": ""} |
no |
destination_codebuild_role_name | Name of the CodeBuild service role that can be assumed by a role in the 'source' account. This role must exist in an account to which you wish to deploy. The CodeBuild service role in the source account may assume this role to execute deployments. For single-account deployments, this variable is not used and therefore defaults to an empty string (""). For multi-account deployments, this role is created when calling the 'agent' child module. |
string |
"" |
no |
docker_build_spec | Location of the buildspec.yml for the 'Docker' stage. | string |
"codebuild/docker/buildspec.yml" |
no |
project_name | Name of the project. This name will be prepended to all resources that are associated with this module. | string |
n/a | yes |
No outputs.