Terraform-provider-aws: Add support for postgresql enabled_cloudwatch_logs_exports to aws_rds_cluster

Created on 7 Aug 2019  ·  3Comments  ·  Source: hashicorp/terraform-provider-aws

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

v0.12

Affected Resource(s)

  • aws_rds_cluster

Details

Aurora Postgres now supports exporting postgresql logs to CloudWatch:

        {
            "Engine": "aurora-postgresql",
            "EngineVersion": "10.7",
            "DBParameterGroupFamily": "aurora-postgresql10",
            "DBEngineDescription": "Aurora (PostgreSQL)",
            "DBEngineVersionDescription": "Aurora PostgreSQL (compatible with PostgreSQL 10.7)",
            "ValidUpgradeTarget": [],
            "ExportableLogTypes": [
                "postgresql"
            ],
            "SupportsLogExportsToCloudwatchLogs": true,
            "SupportsReadReplica": false,
            "SupportedEngineModes": [
                "provisioned"
            ],
            "SupportedFeatureNames": [
                "s3Import"
            ]
        }

Attempting to set the value currently generates this error:

Error: expected enabled_cloudwatch_logs_exports.0 to be one of [audit error general slowquery], got postgresql

This needs to be updated to support postgresql as a valid value.

References

enhancement servicrds

Most helpful comment

Support for the postgresql value has been merged and will release with version 2.25.0 of the Terraform AWS Provider, in about a week. Thanks to @ste1nstone for the implementation. 👍

All 3 comments

Support for the postgresql value has been merged and will release with version 2.25.0 of the Terraform AWS Provider, in about a week. Thanks to @ste1nstone for the implementation. 👍

This has been released in version 2.25.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

Was this page helpful?
0 / 5 - 0 ratings