|
@@ -32,13 +32,19 @@ resource "aws_codebuild_project" "this" {
|
|
|
type = "PLAINTEXT"
|
|
|
value = "${var.splunk_prefix}:${each.value}"
|
|
|
}
|
|
|
+ environment_variable {
|
|
|
+ name = "ARTIFACTS_PATH"
|
|
|
+ type = "PLAINTEXT"
|
|
|
+ value = "s3://xdr-${var.splunk_prefix}-${var.environment}-splunk-apps/${ each.value }/content_source/"
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
+ # Example: s3://xdr-moose-test-splunk-apps/sh-es/content_source/
|
|
|
artifacts {
|
|
|
type = "S3"
|
|
|
location = "xdr-${var.splunk_prefix}-${var.environment}-splunk-apps"
|
|
|
- name = each.value
|
|
|
- #path = each.value
|
|
|
+ name = "content_source"
|
|
|
+ path = "/${ each.value }/"
|
|
|
namespace_type = "NONE"
|
|
|
packaging = "NONE"
|
|
|
}
|