codebuild
axetrading/codebuild/axetrading
Codebuild project that assumes a role so credentials can be used inside docker container
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
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | Name of the build | required |
| artifacts_bucket_arn | string | ARN of the bucket for storing codepipeline artifacts | required |
| build_commands | list(any) | Commands to run in the build phase | [] |
| role_arn | string | The ARN of the IAM role to assume for the build | "" |
| file_artifacts | list(string) | Files to list in the artefacts > files section of the buildspec. | [] |
| build_container_type | string | Type of build environment to use for related builds. | "LINUX_CONTAINER" |
| vpc_config | any | Configuration for the builds to run inside a VPC. | {} |
| build_compute_type | string | Information about the compute resources the build project will use. Valid values | "BUILD_GENERAL1_SMALL" |
| build_image | string | Docker image to use for this build project. | "aws/codebuild/amazonlinux2-x86_64-stand |
| build_image_pull_credentials_type | string | Type of credentials AWS CodeBuild uses to pull images in your build. Valid value | "CODEBUILD" |
| container_privileged_mode | bool | Whether to enable running the Docker daemon inside a Docker container. | true |
project_name — The name of the CodeBuild Projectproject_arn — The ARN of the CodeBuild project