Skip to content

Commit 6ead075

Browse files
authored
Merge pull request #15 from aquasecurity/SAAS-29475
WIP - SAAS-29475 - Auto-Discovery | AWS | Organization | Terraform | Split volume scanning deployment
2 parents 2b523fd + 66d8688 commit 6ead075

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ Before using this module, ensure that you have the following:
116116
| <a name="input_regions"></a> [regions](#input\_regions) | AWS Regions to deploy discovery and scanning resources | `list(string)` | n/a | yes |
117117
| <a name="input_show_outputs"></a> [show\_outputs](#input\_show\_outputs) | Whether to show outputs after deployment | `bool` | `false` | no |
118118
| <a name="input_type"></a> [type](#input\_type) | The type of onboarding. Valid values are 'single' or 'organization' onboarding types | `string` | n/a | yes |
119+
| <a name="input_volume_scanning_deployment"></a> [volume\_scanning\_deployment](#input\_volume\_scanning\_deployment) | Toggle to deploy Volume Scanning resources | `string` | `"true"` | no |
119120

120121
## Outputs
121122

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,5 @@ module "organization" {
7070
custom_vpc_subnet_route_table1_name = var.custom_vpc_subnet_route_table1_name
7171
custom_vpc_subnet_route_table2_name = var.custom_vpc_subnet_route_table2_name
7272
custom_cspm_regions = var.custom_cspm_regions
73+
volume_scanning_deployment = var.volume_scanning_deployment
7374
}

modules/organization/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ resource "aws_cloudformation_stack_set" "stack_set" {
4242
CustomInternetGatewayName = var.custom_internet_gateway_name
4343
CustomSecurityGroupName = var.custom_security_group_name
4444
CustomCSPMRegions = var.custom_cspm_regions
45+
VolumeScanningDeployment = var.volume_scanning_deployment
4546
}
4647
}
4748

modules/organization/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,3 +126,9 @@ variable "custom_cspm_regions" {
126126
type = string
127127
default = ""
128128
}
129+
130+
variable "volume_scanning_deployment" {
131+
description = "Toggle to deploy Volume Scanning resources"
132+
type = string
133+
default = "true"
134+
}

variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,3 +399,9 @@ variable "custom_cspm_regions" {
399399
type = string
400400
default = ""
401401
}
402+
403+
variable "volume_scanning_deployment" {
404+
description = "Toggle to deploy Volume Scanning resources"
405+
type = string
406+
default = "true"
407+
}

0 commit comments

Comments
 (0)