Skip to content

Commit 22d6c7c

Browse files
committed
feat: add standalone bianry scanner
1 parent 36762e8 commit 22d6c7c

File tree

7 files changed

+25
-2
lines changed

7 files changed

+25
-2
lines changed

examples/single-account-apprunner/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ variable "deploy_image_scanning_ecs" {
4242
default = false
4343
}
4444

45+
variable "use_standalone_scanner" {
46+
type = bool
47+
description = "true/false whether use inline scanner or not"
48+
default = false
49+
}
50+
4551
#
4652
# benchmark configuration
4753
#

examples/single-account-ecs/variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ variable "deploy_image_scanning_ecs" {
8585
default = false
8686
}
8787

88+
variable "use_standalone_scanner" {
89+
type = bool
90+
description = "true/false whether use inline scanner or not"
91+
default = false
92+
}
8893

8994
#
9095
# benchmark configuration

examples/single-account-k8s/variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ variable "deploy_image_scanning_ecs" {
5454
default = false
5555
}
5656

57+
variable "use_standalone_scanner" {
58+
type = bool
59+
description = "true/false whether use inline scanner or not"
60+
default = false
61+
}
5762

5863
#
5964
# benchmark configuration

modules/services/cloud-connector-ecs/variables.tf

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ variable "ecs_task_cpu" {
9595
variable "ecs_task_memory" {
9696
type = string
9797
description = "Amount of memory (in megabytes) to reserve for cloud-connector task"
98-
default = "512"
98+
default = "2000"
9999
}
100100

101101
variable "connector_ecs_task_role_name" {
@@ -146,7 +146,11 @@ variable "deploy_image_scanning_ecs" {
146146
default = false
147147
}
148148

149-
149+
variable "use_standalone_scanner" {
150+
type = bool
151+
description = "true/false whether use inline scanner or not"
152+
default = false
153+
}
150154

151155
#
152156
# general

test/fixtures/single-account-apprunner/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ module "cloudvision_aws_apprunner_single_account" {
2222

2323
deploy_image_scanning_ecr = true
2424
deploy_image_scanning_ecs = true
25+
use_standalone_scanner = false
2526
}

test/fixtures/single-account-ecs/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ module "cloudvision_aws_single_account_ecs" {
2222

2323
deploy_image_scanning_ecr = true
2424
deploy_image_scanning_ecs = true
25+
use_standalone_scanner = false
2526
}

test/fixtures/single-account-k8s/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ module "cloudvision_aws_single_account_k8s" {
2727

2828
deploy_image_scanning_ecr = true
2929
deploy_image_scanning_ecs = true
30+
use_standalone_scanner = false
3031
}

0 commit comments

Comments
 (0)