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

Add PrivilegedMode option to CodeBuild Environments #744

Merged
merged 2 commits into from
Jul 2, 2017

Conversation

gkrizek
Copy link
Contributor

@gkrizek gkrizek commented Jun 19, 2017

CodeBuild now allows you to run your build containers in privileged mode. They rolled this feature out pretty silently it seems because I can't find any announcements or product updates about it. They also haven't added it to the CloudFormation documentation yet either. I can only find a reference to it in this document on creating a project:
http://docs.aws.amazon.com/codebuild/latest/userguide/create-project.html#create-project-cli

I can confirm that CloudFormation supports this option because I have created a template for a CodeBuild project and added this in manually. Worked as expected.

@gkrizek
Copy link
Contributor Author

gkrizek commented Jul 2, 2017

@markpeek @phobologic Any progress on getting this merged?

It's super simple and would save me a lot of hassle of setting it manually. 😄

@markpeek
Copy link
Member

markpeek commented Jul 2, 2017

I typically do not commit features until they are documented by CF. Since you mentioned it worked for you, I'll commit this for now and send a follow up to the CF team as well.

@markpeek markpeek merged commit ed8f42f into cloudtools:master Jul 2, 2017
@markpeek
Copy link
Member

markpeek commented Jul 2, 2017

Thanks!

@gkrizek
Copy link
Contributor Author

gkrizek commented Jul 2, 2017

Thanks @markpeek ! Yes I can confirm that it works. I'm not sure why CF hasn't updated their Documentation.

@markpeek
Copy link
Member

Just to follow up, this has now been added to the documentation:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codebuild-project-environment.html#cfn-codebuild-project-environment-privilegedmode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants