codebuild

aws-ia/codebuild/aws

Terraform Module HCL AWS ✓ Verified

AWS CodeBuild Module

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

Terraform AWS CodeBuild This module deploys Terraform-managed AWS CodeBuild. Author: Tony Vattahil ([email protected]) Install Terraform To deploy this module you must install Terraform. See Install Terraform for a tutorial. Sign up for Terraform Cloud Sign up and log into Terraform Cloud. (There is a free tier available.) Configure Terraform Cloud API Access Generate a Terraform Cloud token. terraform login Export the TERRAFORM_CONFIG variable. export TERRAFORM_CONFIG="$HOME/.terraform.d/credentials.tfrc.json" Configure your tfvars file _Example filepath_ = $HOME/.aws/terraform.tfvars _Example tfvars file contents_ In the example, replace * with your AKEY and SKEY. `` AWS_SECRET_ACCESS_KEY = "*************" AWS_ACCESS_KEY_ID = "*************" AWS_SESSION_TOKEN = "***************" ` Note:

Inputs (14)
NameTypeDescriptionDefault
codebuild_role_arnstringARN of the existing codebuild role""
build_imagestringBuild container image"aws/codebuild/amazonlinux2-x86_64-stand
build_spec_filestringBuild spec file name "buildspecs/terraform_env.yml"
tagsmapCodebuild Tags{ "Name": "aws-ia-codebuild" }
codebuild_env_varsobject({ LOAD_VARS Environment var for CodeBuild{ "EXPORT_PROJECT_NAME": "NAME_OF_PROJ
artifacts_typestringType of artifacts (supports: NO_ARTIFACTS or CODEPIPELINE)"NO_ARTIFACTS"
compute_typestringCompute type"BUILD_GENERAL1_MEDIUM"
create_role_and_policyboolCreate a new IAM role and policy if truetrue
regionstringCodebuild region"us-east-1"
http_git_clone_urlstringEnter: Git Clone URL"https://github.com/aws-ia/terraform-mod
environmentstringEnvironment in which the script is run. Eg: develop, main, etc"develop"
TF_VERSIONstring"1.0.0"
git_clone_depthstringRepo clone depth"1"
project_namestringCodebuild Project Name (Leave empty to autogenerate}""
Outputs (6)
codebuild_tags_all — CodeBuild Badge Url
codebuild_arn — CodeBuild Arn
codebuild_id — CodeBuild Id
codebuild_badge_url — CodeBuild Badge Url
codebuild_project_name — CodeBuild Project Name
git_repo_name — GitRepo Name
Resources (4)
aws_codebuild_projectaws_iam_roleaws_iam_role_policy_attachmentrandom_string
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.5
Cloud AWS
★ Stars10
Forks16
Total downloads5.3k
Inputs14
Outputs6
Resources4
LicenseApache-2.0
Namespaceaws-ia
Updated