Skip to content

Commit

Permalink
Rename Repo, Fix README.md (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
aknysh authored Sep 22, 2017
1 parent 2055d9b commit acf8891
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright {yyyy} {name of copyright owner}
Copyright 2017 Cloud Posse, LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# tf_codebuild
# terraform-aws-codebuild

Terraform config to create codebuild project for codepipeline
Terraform module to create AWS CodeBuild project for AWS CodePipeline

## Usage

Include this repository as a module in your existing terraform code:

```
```hcl
module "build" {
source = "git::https://github.com/cloudposse/tf_codebuild.git?ref=tags/0.5.0"
source = "git::https://github.com/cloudposse/terraform-aws-codebuild.git?ref=master"
namespace = "general"
name = "ci"
stage = "staging"
Expand All @@ -22,7 +22,7 @@ module "build" {
# http://docs.aws.amazon.com/codebuild/latest/userguide/sample-docker.html
# https://www.terraform.io/docs/providers/aws/r/codebuild_project.html
privileged_mode = true
privileged_mode = "true"
aws_region = "us-east-1"
aws_account_id = "xxxxxxxxxx"
image_repo_name = "ecr-repo-name"
Expand All @@ -31,7 +31,6 @@ module "build" {
```



## Input

| Name | Default | Description |
Expand All @@ -57,3 +56,8 @@ module "build" {
| project_name | CodeBuild project name |
| project_id | CodeBuild project ARN |
| role_arn | IAM Role ARN |


## License

Apache 2 License. See [`LICENSE`](LICENSE) for full details.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ data "aws_region" "default" {

# Define composite variables for resources
module "label" {
source = "git::https://github.com/cloudposse/tf_label.git?ref=tags/0.2.0"
source = "git::https://github.com/cloudposse/terraform-null-label.git?ref=tags/0.2.1"
namespace = "${var.namespace}"
name = "${var.name}"
stage = "${var.stage}"
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ variable "tags" {
}

variable "privileged_mode" {
default = false
default = "false"
description = "(Optional) If set to true, enables running the Docker daemon inside a Docker container on the CodeBuild instance. Used when building Docker images"
}

Expand Down

0 comments on commit acf8891

Please sign in to comment.