Skip to content

Commit

Permalink
Merge pull request #51 from trussworks/barry-bools
Browse files Browse the repository at this point in the history
Making bools actually bools
  • Loading branch information
esacteksab authored Mar 6, 2020
2 parents 0918a34 + bfe3790 commit a46657a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,20 +117,20 @@ module "aws_logs" {
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:-----:|
| alb\_logs\_prefixes | S3 key prefixes for ALB logs. | `list(string)` | <pre>[<br> "alb"<br>]<br></pre> | no |
| allow\_alb | Allow ALB service to log to bucket. | `string` | `false` | no |
| allow\_cloudtrail | Allow Cloudtrail service to log to bucket. | `string` | `false` | no |
| allow\_cloudwatch | Allow Cloudwatch service to export logs to bucket. | `string` | `false` | no |
| allow\_config | Allow Config service to log to bucket. | `string` | `false` | no |
| allow\_elb | Allow ELB service to log to bucket. | `string` | `false` | no |
| allow\_nlb | Allow NLB service to log to bucket. | `string` | `false` | no |
| allow\_redshift | Allow Redshift service to log to bucket. | `string` | `false` | no |
| allow\_alb | Allow ALB service to log to bucket. | `bool` | `false` | no |
| allow\_cloudtrail | Allow Cloudtrail service to log to bucket. | `bool` | `false` | no |
| allow\_cloudwatch | Allow Cloudwatch service to export logs to bucket. | `bool` | `false` | no |
| allow\_config | Allow Config service to log to bucket. | `bool` | `false` | no |
| allow\_elb | Allow ELB service to log to bucket. | `bool` | `false` | no |
| allow\_nlb | Allow NLB service to log to bucket. | `bool` | `false` | no |
| allow\_redshift | Allow Redshift service to log to bucket. | `bool` | `false` | no |
| cloudtrail\_accounts | List of accounts for CloudTrail logs. By default limits to the current account. | `list(string)` | `[]` | no |
| cloudtrail\_logs\_prefix | S3 prefix for CloudTrail logs. | `string` | `"cloudtrail"` | no |
| cloudwatch\_logs\_prefix | S3 prefix for CloudWatch log exports. | `string` | `"cloudwatch"` | no |
| config\_accounts | List of accounts for Config logs. By default limits to the current account. | `list(string)` | `[]` | no |
| config\_logs\_prefix | S3 prefix for AWS Config logs. | `string` | `"config"` | no |
| create\_public\_access\_block | Whether to create a public\_access\_block restricting public access to the bucket. | `string` | `true` | no |
| default\_allow | Whether all services included in this module should be allowed to write to the bucket by default. Alternatively select individual services. It's recommended to use the default bucket ACL of log-delivery-write. | `string` | `true` | no |
| create\_public\_access\_block | Whether to create a public\_access\_block restricting public access to the bucket. | `bool` | `true` | no |
| default\_allow | Whether all services included in this module should be allowed to write to the bucket by default. Alternatively select individual services. It's recommended to use the default bucket ACL of log-delivery-write. | `bool` | `true` | no |
| elb\_accounts | List of accounts for ELB logs. By default limits to the current account. | `list(string)` | `[]` | no |
| elb\_logs\_prefix | S3 prefix for ELB logs. | `string` | `"elb"` | no |
| force\_destroy | A bool that indicates all objects (including any locked objects) should be deleted from the bucket so the bucket can be destroyed without error. | `bool` | `false` | no |
Expand Down
18 changes: 9 additions & 9 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,55 +60,55 @@ variable "config_logs_prefix" {
variable "default_allow" {
description = "Whether all services included in this module should be allowed to write to the bucket by default. Alternatively select individual services. It's recommended to use the default bucket ACL of log-delivery-write."
default = true
type = string
type = bool
}

variable "allow_cloudtrail" {
description = "Allow Cloudtrail service to log to bucket."
default = false
type = string
type = bool
}

variable "allow_cloudwatch" {
description = "Allow Cloudwatch service to export logs to bucket."
default = false
type = string
type = bool
}

variable "allow_alb" {
description = "Allow ALB service to log to bucket."
default = false
type = string
type = bool
}

variable "allow_nlb" {
description = "Allow NLB service to log to bucket."
default = false
type = string
type = bool
}

variable "allow_config" {
description = "Allow Config service to log to bucket."
default = false
type = string
type = bool
}

variable "allow_elb" {
description = "Allow ELB service to log to bucket."
default = false
type = string
type = bool
}

variable "allow_redshift" {
description = "Allow Redshift service to log to bucket."
default = false
type = string
type = bool
}

variable "create_public_access_block" {
description = "Whether to create a public_access_block restricting public access to the bucket."
default = true
type = string
type = bool
}

variable "cloudtrail_accounts" {
Expand Down

0 comments on commit a46657a

Please sign in to comment.