github.com/pmcatominey/terraform@v0.7.0-rc2.0.20160708105029-1401a52a5cc5/website/source/docs/providers/aws/r/redshift_security_group.html.markdown (about) 1 --- 2 layout: "aws" 3 page_title: "AWS: aws_redshift_security_group" 4 sidebar_current: "docs-aws-resource-redshift-security-group" 5 description: |- 6 Provides a Redshift security group resource. 7 --- 8 9 # aws\_redshift\_security\_group 10 11 Creates a new Amazon Redshift security group. You use security groups to control access to non-VPC clusters 12 13 ## Example Usage 14 15 ``` 16 resource "aws_redshift_security_group" "default" { 17 name = "redshift_sg" 18 19 ingress { 20 cidr = "10.0.0.0/24" 21 } 22 } 23 ``` 24 25 ## Argument Reference 26 27 The following arguments are supported: 28 29 * `name` - (Required) The name of the Redshift security group. 30 * `description` - (Optional) The description of the Redshift security group. Defaults to "Managed by Terraform". 31 * `ingress` - (Optional) A list of ingress rules. 32 33 Ingress blocks support the following: 34 35 * `cidr` - The CIDR block to accept 36 * `security_group_name` - The name of the security group to authorize 37 * `security_group_owner_id` - The owner Id of the security group provided 38 by `security_group_name`. 39 40 ## Attributes Reference 41 42 The following attributes are exported: 43 44 * `id` - The Redshift security group ID. 45