File tree 7 files changed +15
-7
lines changed
examples-internal/single-account-benchmark
modules/services/cloud-bench
7 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ terraform {
6
6
}
7
7
sysdig = {
8
8
source = " sysdiglabs/sysdig"
9
- version = " >= 0.5.19 "
9
+ version = " >= 0.5.21 "
10
10
}
11
11
}
12
12
}
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ Notice that:
48
48
| ------| ---------|
49
49
| <a name =" requirement_terraform " ></a > [ terraform] ( #requirement\_ terraform ) | >= 0.15.0 |
50
50
| <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 3.50.0 |
51
- | <a name =" requirement_sysdig " ></a > [ sysdig] ( #requirement\_ sysdig ) | >= 0.5.19 |
51
+ | <a name =" requirement_sysdig " ></a > [ sysdig] ( #requirement\_ sysdig ) | >= 0.5.21 |
52
52
53
53
## Providers
54
54
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ terraform {
6
6
}
7
7
sysdig = {
8
8
source = " sysdiglabs/sysdig"
9
- version = " >= 0.5.19 "
9
+ version = " >= 0.5.21 "
10
10
}
11
11
}
12
12
}
Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ Deploys
14
14
| ------| ---------|
15
15
| <a name =" requirement_terraform " ></a > [ terraform] ( #requirement\_ terraform ) | >= 0.15.0 |
16
16
| <a name =" requirement_aws " ></a > [ aws] ( #requirement\_ aws ) | >= 3.50.0 |
17
- | <a name =" requirement_sysdig " ></a > [ sysdig] ( #requirement\_ sysdig ) | >= 0.5.19 |
17
+ | <a name =" requirement_sysdig " ></a > [ sysdig] ( #requirement\_ sysdig ) | >= 0.5.21 |
18
18
19
19
## Providers
20
20
21
21
| Name | Version |
22
22
| ------| ---------|
23
23
| <a name =" provider_aws " ></a > [ aws] ( #provider\_ aws ) | >= 3.50.0 |
24
- | <a name =" provider_sysdig " ></a > [ sysdig] ( #provider\_ sysdig ) | >= 0.5.19 |
24
+ | <a name =" provider_sysdig " ></a > [ sysdig] ( #provider\_ sysdig ) | >= 0.5.21 |
25
25
26
26
## Modules
27
27
@@ -45,6 +45,7 @@ No modules.
45
45
| ------| -------------| ------| ---------| :--------:|
46
46
| <a name =" input_account_id " ></a > [ account\_ id] ( #input\_ account\_ id ) | the account\_ id in which to provision the cloud-bench IAM role | ` string ` | n/a | yes |
47
47
| <a name =" input_regions " ></a > [ regions] ( #input\_ regions ) | List of regions in which to run the benchmark. If empty, the task will contain all aws regions by default. | ` list(string) ` | ` [] ` | no |
48
+ | <a name =" input_role_name " ></a > [ role\_ name] ( #input\_ role\_ name ) | The name of the IAM Role that will be created. | ` string ` | ` "SysdigCloudBench" ` | no |
48
49
| <a name =" input_tags " ></a > [ tags] ( #input\_ tags ) | sysdig secure-for-cloud tags | ` map(string) ` | <pre >{<br > "product": "sysdig-secure-for-cloud"<br >}</pre > | no |
49
50
50
51
## Outputs
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ resource "sysdig_secure_cloud_account" "cloud_account" {
5
5
account_id = var. account_id
6
6
cloud_provider = " aws"
7
7
role_enabled = " true"
8
+ role_name = var. role_name
8
9
}
9
10
10
11
data "sysdig_secure_trusted_cloud_identity" "trusted_identity" {
@@ -30,7 +31,7 @@ resource "sysdig_secure_benchmark_task" "benchmark_task" {
30
31
#
31
32
32
33
resource "aws_iam_role" "cloudbench_role" {
33
- name = " SysdigCloudBench "
34
+ name = var . role_name
34
35
assume_role_policy = data. aws_iam_policy_document . trust_relationship . json
35
36
tags = var. tags
36
37
}
Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ variable "account_id" {
7
7
# optionals - with default
8
8
# ---------------------------------
9
9
10
+ variable "role_name" {
11
+ type = string
12
+ description = " The name of the IAM Role that will be created."
13
+ default = " SysdigCloudBench"
14
+ }
15
+
10
16
variable "regions" {
11
17
type = list (string )
12
18
description = " List of regions in which to run the benchmark. If empty, the task will contain all aws regions by default."
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ terraform {
6
6
}
7
7
sysdig = {
8
8
source = " sysdiglabs/sysdig"
9
- version = " >= 0.5.19 "
9
+ version = " >= 0.5.21 "
10
10
}
11
11
}
12
12
}
You can’t perform that action at this time.
0 commit comments