Skip to content

Commit

Permalink
Merge pull request #3282 from thevtm/patch-1
Browse files Browse the repository at this point in the history
docs: updates CodeBuild image attribute docs
  • Loading branch information
bflad authored Feb 7, 2018
2 parents 59952c2 + da8cd3d commit 770062d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/r/codebuild_project.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ resource "aws_codebuild_project" "foo" {
environment {
compute_type = "BUILD_GENERAL1_SMALL"
image = "2"
image = "aws/codebuild/nodejs:6.3.1"
type = "LINUX_CONTAINER"
environment_variable {
Expand Down Expand Up @@ -126,7 +126,7 @@ The following arguments are supported:
`environment` supports the following:

* `compute_type` - (Required) Information about the compute resources the build project will use. Available values for this parameter are: `BUILD_GENERAL1_SMALL`, `BUILD_GENERAL1_MEDIUM` or `BUILD_GENERAL1_LARGE`
* `image` - (Required) The ID of the Docker image to use for this build project. You can read more about the AWS curated environment images in the [documentation](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListCuratedEnvironmentImages.html).
* `image` - (Required) The *image identifier* of the Docker image to use for this build project ([list of Docker images provided by AWS CodeBuild.](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html)). You can read more about the AWS curated environment images in the [documentation](https://docs.aws.amazon.com/codebuild/latest/APIReference/API_ListCuratedEnvironmentImages.html).
* `type` - (Required) The type of build environment to use for related builds. The only valid value is `LINUX_CONTAINER`.
* `privileged_mode` - (Optional) If set to true, enables running the Docker daemon inside a Docker container. Defaults to `false`.
* `environment_variable` - (Optional) A set of environment variables to make available to builds for this build project.
Expand Down

0 comments on commit 770062d

Please sign in to comment.