Skip to content

Commit ecdcc6f

Browse files
authored
enable clouldwatch log exports for aurora postgresql (#279)
* enable clouldwatch log exports for aurora postgresql * only postgresql logs are supported for aurora postgresql
1 parent 62f0981 commit ecdcc6f

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

aws-aurora-postgres/main.tf

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ module "aurora" {
2626
rds_cluster_parameters = var.rds_cluster_parameters
2727
iam_database_authentication_enabled = var.iam_database_authentication_enabled
2828
performance_insights_enabled = var.performance_insights_enabled
29+
enabled_cloudwatch_logs_exports = ["postgresql"]
2930
ca_cert_identifier = var.ca_cert_identifier
3031
auto_minor_version_upgrade = var.auto_minor_version_upgrade
3132

aws-redis-replication-group/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ a replication group with the given parameters.
2020

2121
| Name | Description | Type | Default | Required |
2222
|------|-------------|------|---------|:--------:|
23-
| at\_rest\_encryption\_enabled | Whether to enable encryption at rest. | `bool` | `false` | no |
2423
| apply\_immediately | Whether changes should be applied immediately or during the next maintenance window. | `bool` | `true` | no |
25-
| availability\_zone | Availability zone in which this instance should run. | `string` | `null` | no |
24+
| at\_rest\_encryption\_enabled | Whether to enable encryption at rest. Default: false. | `bool` | `false` | no |
25+
| availability\_zones | Availability zone in which this instance should run. | `list(string)` | `null` | no |
2626
| engine\_version | The version of Redis to run. See [supported versions](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/supported-engine-versions.html) | `string` | `"5.0.5"` | no |
2727
| env | Env for tagging and naming. See [doc](../README.md#consistent-tagging). | `string` | n/a | yes |
2828
| ingress\_security\_group\_ids | Source security groups which should be able to contact this instance. | `list(string)` | n/a | yes |
2929
| instance\_type | The type of instance to run. See [supported node types](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html) | `string` | `"cache.m5.large"` | no |
30-
| number_cache_clusters | Number of cache clusters. | `number` | 1 | no |
30+
| number\_cache\_clusters | Number of cache clusters. Default 1. | `number` | `1` | no |
3131
| owner | Owner for tagging and naming. See [doc](../README.md#consistent-tagging). | `string` | n/a | yes |
3232
| parameter\_group\_name | Parameter group to use for this Redis cache. | `string` | `"default.redis5.0"` | no |
3333
| port | Port to host Redis on. | `number` | `6379` | no |
@@ -36,15 +36,15 @@ a replication group with the given parameters.
3636
| resource\_name | If not set, name will be [var.project]-[var.env]-[var.name]. | `string` | `""` | no |
3737
| service | Service for tagging and naming. See [doc](../README.md#consistent-tagging) | `string` | `"redis"` | no |
3838
| subnets | List of subnets to which this EC instance should be attached. They should probably be private. | `list(string)` | n/a | yes |
39-
| transit\_encryption\_enabled | Whether to enable encryption in transit. | `bool` | `false` | no |
39+
| transit\_encryption\_enabled | Whether to enable encryption in transit. Default: false. | `bool` | `false` | no |
4040
| vpc\_id | VPC where the cache will be deployed. | `string` | n/a | yes |
4141

4242
## Outputs
4343

4444
| Name | Description |
4545
|------|-------------|
46-
| primary_endpoint_address | The endpoint of the primary node in this node group (shard). |
47-
| configuration_endpoint_address | The configuration endpoint address to allow host discovery. |
46+
| configuration\_endpoint\_address | The configuration endpoint address to allow host discovery. |
4847
| port | Redis TCP port. |
48+
| primary\_endpoint\_address | The endpoint of the primary node in this node group (shard). |
4949

5050
<!-- END -->

aws-s3-public-bucket/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@
1919
| bucket\_contents | Describe the data within this bucket. | `string` | n/a | yes |
2020
| bucket\_name | The name of the bucket. Note that `-public` will be appended to `bucket_name`s that don't contain a `public` substring. This module will output the computed `bucket_name`. | `string` | n/a | yes |
2121
| bucket\_policy | A policy to attach to this bucket. | `string` | `""` | no |
22+
| enable\_versioning | Keep old versions of objects in this bucket. | `bool` | `true` | no |
2223
| env | Env for tagging and naming. | `string` | n/a | yes |
2324
| owner | Owner for tagging and naming. | `string` | n/a | yes |
2425
| project | Project for tagging and naming. | `string` | n/a | yes |
2526
| public\_read\_justification | Describe why this bucket must be public and what it is being used for. | `string` | n/a | yes |
27+
| require\_tls | Require TLS to read objects from this bucket. | `bool` | `true` | no |
2628
| service | Service for tagging and naming. | `string` | n/a | yes |
2729

2830
## Outputs

0 commit comments

Comments
 (0)