Skip to content

Commit

Permalink
Add encryption_key
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocode authored Jun 21, 2022
1 parent c1340d9 commit b1ef610
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,8 @@ resource "aws_codebuild_project" "default" {
badge_enabled = var.badge_enabled
build_timeout = var.build_timeout
source_version = var.source_version != "" ? var.source_version : null
encryption_key = var.encryption_key

tags = {
for name, value in module.this.tags :
name => value
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -282,4 +282,10 @@ variable "file_system_locations" {
type = any
default = {}
description = "A set of file system locations to to mount inside the build. File system locations are documented below."
}

variable "encryption_key" {
type = string
default = null
description = "AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts."
}

0 comments on commit b1ef610

Please sign in to comment.