question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[aws-codebuild] Add ability to define `certificate` in CodeBuild Project Construct Props

See original GitHub issue

It doesn’t seem possible to define the certificate property in the CodeBuild Project Construct. I would expect to define it via the BuildEnvironment interface.

However, the only option I can find to define it via CDK is using the CfnProject Construct via the EnvironmentProperty interface which I think requires me to use the CfnProject Construct instead of the Project Construct (unless I can override it somehow?)

Use Case

When deploying CodeBuild Projects via CDK, to have the ability to enable SSL between on-prem source code repos and CodeBuild.

Proposed Solution

Add the certificate parameter to the BuildEnvironment Interface for the CodeBuild Project Construct

Other

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jen-gineercommented, Nov 24, 2020

Thanks for opening the issue @jen-gineer . Before we implement this, you can use escape hatches to set that property.

Thanks, Adam

Oh amazing, thanks for the link Adam! I tried something similar based on a StackOverflow answer but I couldn’t quite get it working. Your link on escape hatches has a lot more details so I’ll give it another go!

0reactions
github-actions[bot]commented, Jun 17, 2022

This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

Read more comments on GitHub >

github_iconTop Results From Across the Web

class Project (construct) · AWS CDK
Defines where build artifacts will be stored. badge? boolean, Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge ......
Read more >
aws-cdk/aws-codebuild module - AWS Documentation - Amazon
certificate defines the location of a PEM encoded certificate to import. computeType defines the instance type used for the build. privileged can be...
Read more >
class CfnProject (construct) · AWS CDK
Implements IConstruct , IConstruct , IDependable , IInspectable. A CloudFormation AWS::CodeBuild::Project . The AWS::CodeBuild::Project resource configures ...
Read more >
interface PipelineProjectProps · AWS CDK
An ProjectFileSystemLocation objects for a CodeBuild build project. grantReportGroupPermissions? boolean, Add permissions to this project's role to create and ...
Read more >
Build specification reference for CodeBuild
In an AWS CloudFormation template, set the BuildSpec property of Source in a resource of type AWS::CodeBuild::Project to the path to the alternate...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found