hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.85k stars 9.19k forks source link

[Enhancement]: aws_redshift_cluster enable the ability to set metadata_security #37533

Open clarkflowers opened 6 months ago

clarkflowers commented 6 months ago

Description

I would like aws_redshift_cluster resource to have the ability to set the system setting metadata_security.

Like Amazon Redshift’s row-level security, metadata security gives you more granular control over your metadata. If metadata security is enabled for your provisioned cluster or serverless workgroup, users can see metadata for the objects for which they have viewing access. Metadata security lets you separate visibility based on your needs. For example, you can use a single data warehouse to centralize all of your data storage. However, if you store data for multiple sectors, managing security can become troublesome. With metadata security enabled, you can configure your visibility. Users of one sector can have more visibility over their objects, while you restrict viewing access to users of another sector. Metadata security supports all object types, such as schemas, tables, views, materialized views, stored procedures, user-defined functions, and machine learning models.

ALTER SYSTEM SET metadata_security=[true|t|on|false|f|off];

Affected Resource(s) and/or Data Source(s)

aws_redshift_cluster

Potential Terraform Configuration

ALTER SYSTEM SET metadata_security=[true|false];

References

https://docs.aws.amazon.com/redshift/latest/dg/t_metadata_security.html

Would you like to implement a fix?

None

github-actions[bot] commented 6 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue