Skip to content

Commit 0836d4a

Browse files
committed
chore: update docs
1 parent ec7db40 commit 0836d4a

File tree

7 files changed

+15
-12
lines changed

7 files changed

+15
-12
lines changed

examples/organizational/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ $ terraform apply
208208
| <a name="input_name"></a> [name](#input\_name) | Name to be assigned to all child resources. A suffix may be added internally when required. Use default value unless you need to install multiple instances | `string` | `"sfc"` | no |
209209
| <a name="input_organizational_member_default_admin_role"></a> [organizational\_member\_default\_admin\_role](#input\_organizational\_member\_default\_admin\_role) | Default role created by AWS for management-account users to be able to admin member accounts.<br/>https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_access.html | `string` | `"OrganizationAccountAccessRole"` | no |
210210
| <a name="input_tags"></a> [tags](#input\_tags) | customization of tags to be assigned to all resources. <br/>always include 'product' default tag for resource-group proper functioning.<br/>can also make use of the [provider-level `default-tags`](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags) | `map(string)` | <pre>{<br> "product": "sysdig-secure-for-cloud"<br>}</pre> | no |
211+
| <a name="input_temporary_cloudtrail_s3_bucket_public_block"></a> [temporary\_cloudtrail\_s3\_bucket\_public\_block](#input\_temporary\_cloudtrail\_s3\_bucket\_public\_block) | Create a S3 bucket public access block configuration.<br/>This is a temporary variable that will be removed once https://aws.amazon.com/blogs/aws/heads-up-amazon-s3-security-changes-are-coming-in-april-of-2023/ is made effective.<br/>After it, the resource will never be created. | `bool` | `true` | no |
211212

212213
## Outputs
213214

examples/organizational/cloudtrail.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module "cloudtrail" {
1111
source = "../../modules/infrastructure/cloudtrail"
1212
name = var.name
1313

14-
is_organizational = true
14+
is_organizational = true
1515
organizational_config = {
1616
sysdig_secure_for_cloud_member_account_id = var.sysdig_secure_for_cloud_member_account_id
1717
organizational_role_per_account = var.organizational_member_default_admin_role

examples/organizational/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ variable "name" {
189189
variable "tags" {
190190
type = map(string)
191191
description = "customization of tags to be assigned to all resources. <br/>always include 'product' default tag for resource-group proper functioning.<br/>can also make use of the [provider-level `default-tags`](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags)"
192-
default = {
192+
default = {
193193
"product" = "sysdig-secure-for-cloud"
194194
}
195195
}

examples/single-account-ecs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ $ terraform apply
117117
| <a name="input_enable_autoscaling"></a> [enable\_autoscaling](#input\_enable\_autoscaling) | Whether to enable autoscaling or not | `bool` | `false` | no |
118118
| <a name="input_name"></a> [name](#input\_name) | Name to be assigned to all child resources. A suffix may be added internally when required. Use default value unless you need to install multiple instances | `string` | `"sfc"` | no |
119119
| <a name="input_tags"></a> [tags](#input\_tags) | customization of tags to be assigned to all resources. <br/>always include 'product' default tag for resource-group proper functioning.<br/>can also make use of the [provider-level `default-tags`](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags) | `map(string)` | <pre>{<br> "product": "sysdig-secure-for-cloud"<br>}</pre> | no |
120+
| <a name="input_temporary_cloudtrail_s3_bucket_public_block"></a> [temporary\_cloudtrail\_s3\_bucket\_public\_block](#input\_temporary\_cloudtrail\_s3\_bucket\_public\_block) | Create a S3 bucket public access block configuration<br/>This is a temporary variable that will be removed once https://aws.amazon.com/blogs/aws/heads-up-amazon-s3-security-changes-are-coming-in-april-of-2023/ is made effective.<br/>After it, the resource will never be created. | `bool` | `true` | no |
120121

121122
## Outputs
122123

examples/single-account-ecs/cloudtrail.tf

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ locals {
44
}
55

66
module "cloudtrail" {
7-
count = local.cloudtrail_deploy ? 1 : 0
8-
source = "../../modules/infrastructure/cloudtrail"
9-
name = var.name
10-
is_organizational = false
11-
is_multi_region_trail = var.cloudtrail_is_multi_region_trail
12-
cloudtrail_kms_enable = var.cloudtrail_kms_enable
13-
s3_bucket_expiration_days = var.cloudtrail_s3_bucket_expiration_days
14-
temporary_s3_bucket_public_block = var.temporary_cloudtrail_s3_bucket_public_block
15-
tags = var.tags
7+
count = local.cloudtrail_deploy ? 1 : 0
8+
source = "../../modules/infrastructure/cloudtrail"
9+
name = var.name
10+
is_organizational = false
11+
is_multi_region_trail = var.cloudtrail_is_multi_region_trail
12+
cloudtrail_kms_enable = var.cloudtrail_kms_enable
13+
s3_bucket_expiration_days = var.cloudtrail_s3_bucket_expiration_days
14+
temporary_s3_bucket_public_block = var.temporary_cloudtrail_s3_bucket_public_block
15+
tags = var.tags
1616
}

examples/single-account-ecs/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ variable "name" {
138138
variable "tags" {
139139
type = map(string)
140140
description = "customization of tags to be assigned to all resources. <br/>always include 'product' default tag for resource-group proper functioning.<br/>can also make use of the [provider-level `default-tags`](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags)"
141-
default = {
141+
default = {
142142
"product" = "sysdig-secure-for-cloud"
143143
}
144144
}

modules/infrastructure/cloudtrail/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ No modules.
4949
| <a name="input_organizational_config"></a> [organizational\_config](#input\_organizational\_config) | organizational\_config. following attributes must be given<br><ul><li>`sysdig_secure_for_cloud_member_account_id` to enable reading permission</li><br><li>`organizational_role_per_account` to enable SNS topic subscription. by default "OrganizationAccountAccessRole"</li></ul> | <pre>object({<br> sysdig_secure_for_cloud_member_account_id = string<br> organizational_role_per_account = string<br> })</pre> | <pre>{<br> "organizational_role_per_account": null,<br> "sysdig_secure_for_cloud_member_account_id": null<br>}</pre> | no |
5050
| <a name="input_s3_bucket_expiration_days"></a> [s3\_bucket\_expiration\_days](#input\_s3\_bucket\_expiration\_days) | Number of days that the logs will persist in the bucket | `number` | `5` | no |
5151
| <a name="input_tags"></a> [tags](#input\_tags) | customization of tags to be assigned to all resources. <br/>always include 'product' default tag for resource-group proper functioning.<br/>can also make use of the [provider-level `default-tags`](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags) | `map(string)` | <pre>{<br> "product": "sysdig-secure-for-cloud"<br>}</pre> | no |
52+
| <a name="input_temporary_s3_bucket_public_block"></a> [temporary\_s3\_bucket\_public\_block](#input\_temporary\_s3\_bucket\_public\_block) | Create a S3 bucket public access block configuration<br/>This is a temporary variable that will be removed once https://aws.amazon.com/blogs/aws/heads-up-amazon-s3-security-changes-are-coming-in-april-of-2023/ is made effective.<br/>After it, the resource will never be created. | `bool` | `true` | no |
5253

5354
## Outputs
5455

0 commit comments

Comments
 (0)