github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/avd_docs/aws/redshift/AVD-AWS-0127/Terraform.md (about)

     1  
     2  Deploy Redshift cluster into a non default VPC
     3  
     4  ```hcl
     5   resource "aws_redshift_cluster" "good_example" {
     6   	cluster_identifier = "tf-redshift-cluster"
     7   	database_name      = "mydb"
     8   	master_username    = "foo"
     9   	master_password    = "Mustbe8characters"
    10   	node_type          = "dc1.large"
    11   	cluster_type       = "single-node"
    12   
    13   	cluster_subnet_group_name = "redshift_subnet"
    14   }
    15   
    16  ```
    17  
    18  #### Remediation Links
    19   - https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/redshift_cluster#cluster_subnet_group_name
    20