codebuild

axetrading/codebuild/axetrading

Terraform Module HCL AXETRADING

Codebuild project that assumes a role so credentials can be used inside docker container

Install
module "codebuild" {
source = "axetrading/codebuild/axetrading"
version = "1.4.0"
}
plain text: /constructs/tfmod-axetrading-codebuild-axetrading/install.txt
⭐ Source on GitHub 📦 Registry page
README

CodeBuild Project for integration with a CodePipeline Creates a CodeBuild with supporting resources, including assuming an IAM Role and exporting the credentials into the environment (this works around the default credentials for a CodeBuild not being accessible within a container running Terraform). Providers | Name | Version | |------|---------| | aws | 4.29.0 | Resources | Name | Type | |------|------| | aws_cloudwatch_log_group.default | resource | | aws_codebuild_project.default | resource | | aws_iam_policy.default | resource | | aws_iam_policy.vpc_access | resource | | aws_iam_role.default | resource | | aws_iam_role_policy_attachment.default | resource | | aws_iam_role_policy_attachment.vpc_access | resource | | aws_iam_policy_document.assume_role_policy | data source | | aws_iam_p

Inputs (11)
NameTypeDescriptionDefault
namestringName of the build required
artifacts_bucket_arnstringARN of the bucket for storing codepipeline artifacts required
build_commandslist(any)Commands to run in the build phase[]
role_arnstringThe ARN of the IAM role to assume for the build""
file_artifactslist(string)Files to list in the artefacts > files section of the buildspec.[]
build_container_typestringType of build environment to use for related builds."LINUX_CONTAINER"
vpc_configanyConfiguration for the builds to run inside a VPC.{}
build_compute_typestringInformation about the compute resources the build project will use. Valid values"BUILD_GENERAL1_SMALL"
build_imagestringDocker image to use for this build project."aws/codebuild/amazonlinux2-x86_64-stand
build_image_pull_credentials_typestringType of credentials AWS CodeBuild uses to pull images in your build. Valid value"CODEBUILD"
container_privileged_modeboolWhether to enable running the Docker daemon inside a Docker container.true
Outputs (2)
project_name — The name of the CodeBuild Project
project_arn — The ARN of the CodeBuild project
Resources (5)
aws_cloudwatch_log_groupaws_codebuild_projectaws_iam_policyaws_iam_roleaws_iam_role_policy_attachment
Details
FrameworkTerraform Module
LanguageHCL
Version1.4.0
Cloud AXETRADING
Total downloads1.4k
Inputs11
Outputs2
Resources5
Namespaceaxetrading
Updated