Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws_codebuild_project: Add runtime standard configuration #8816

Closed
econceicao opened this issue May 30, 2019 · 3 comments
Closed

aws_codebuild_project: Add runtime standard configuration #8816

econceicao opened this issue May 30, 2019 · 3 comments
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/codebuild Issues and PRs that pertain to the codebuild service.

Comments

@econceicao
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

AWS Codebuild resource updated to standard runtime configuration form, and the current configuration is deprecated, the new configuration offers a runtime default and on buildspec we can select which runtime will run on the machine (or more than one).

image

My team need to offer this update to our projects

New or Affected Resource(s)

  • aws_codebuild_project
@econceicao econceicao added the enhancement Requests to existing resources that expand the functionality or scope. label May 30, 2019
@vibhuyadav
Copy link

vibhuyadav commented Jul 23, 2019

I am able to use the latest image. The only thing missing is the Image Version

@bflad bflad added the service/codebuild Issues and PRs that pertain to the codebuild service. label Jul 23, 2019
@bflad
Copy link
Member

bflad commented Jul 23, 2019

Hi folks 👋

The current aws_codebuild_project resource allows you to specify the full image name and version in your Terraform configuration via the single image argument. Which image you are running is analogous to the "Runtime" field presented in the AWS web console. e.g. the below will run the "Standard" image with the 2.0-1.9.0 image version

resource "aws_codebuild_project" "example" {
  # ... other configuration ...

  environment {
    # ... other configuration ...

    image = "aws/codebuild/standard:2.0-1.9.0"
  }

We recently updated the aws_codebuild_project resource documentation to reflect the image argument accepting many different values:

image - (Required) The Docker image to use for this build project. Valid values include Docker images provided by CodeBuild (e.g aws/codebuild/standard:2.0), Docker Hub images (e.g. hashicorp/terraform:latest), and full Docker repository URIs such as those for ECR (e.g. 137112412989.dkr.ecr.us-west-2.amazonaws.com/amazonlinux:latest).

If you have further suggestions on this documentation, please let us know. Otherwise, if you're looking for general assistance, please note that we use GitHub issues in this repository for tracking bugs and enhancements with the Terraform AWS Provider codebase rather than for questions. While we may be able to help with certain simple problems here it's generally better to use one of the community forums where there are far more people ready to help, whereas the GitHub issues here are generally monitored only by a few maintainers and dedicated community members interested in code development of the Terraform AWS Provider itself.

@bflad bflad closed this as completed Jul 23, 2019
@ghost
Copy link

ghost commented Nov 2, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Nov 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/codebuild Issues and PRs that pertain to the codebuild service.
Projects
None yet
Development

No branches or pull requests

3 participants