1234567891011121314151617181920212223242526272829303132333435363738 |
- # resource "aws_codebuild_project" "syslog-ng-container" {
- # name = "syslog-ng-container"
- # description = "container for running syslog-ng in MDR cloud"
- # service_role = "${data.aws_iam_role.codebuild_role.arn}"
- # encryption_key = "${aws_kms_key.s3_codebuild_artifacts.arn}"
- # badge_enabled = true
- # source {
- # type = "GITHUB_ENTERPRISE"
- # location = "https://github.mdr.defpoint.com/mdr-engineering/mdr-syslog-ng-container"
- # report_build_status = true
- # insecure_ssl = true # FIXME when github has a real cert
- # }
- # environment {
- # compute_type = "BUILD_GENERAL1_SMALL"
- # image = "${aws_ecr_repository.codebuild-rhel7.repository_url}"
- # type = "LINUX_CONTAINER"
- # privileged_mode = true
- # }
- # artifacts {
- # type = "NO_ARTIFACTS"
- # }
- # }
- # output "syslog-ng-container-badge-url" {
- # value = "${aws_codebuild_project.syslog-ng-container.badge_url}"
- # }
- # resource "aws_codebuild_webhook" "syslog-ng-container" {
- # project_name = "${aws_codebuild_project.syslog-ng-container.name}"
- # branch_filter = "^(master|develop)$"
- # }
|