github.com/atsaki/terraform@v0.4.3-0.20150919165407-25bba5967654/website/source/docs/providers/aws/r/db_subnet_group.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_db_subnet_group"
     4  sidebar_current: "docs-aws-resource-db-subnet-group"
     5  description: |-
     6    Provides an RDS DB subnet group resource.
     7  ---
     8  
     9  # aws\_db\_subnet\_group
    10  
    11  Provides an RDS DB subnet group resource.
    12  
    13  ## Example Usage
    14  
    15  ```
    16  resource "aws_db_subnet_group" "default" {
    17      name = "main"
    18      description = "Our main group of subnets"
    19      subnet_ids = ["${aws_subnet.frontend.id}", "${aws_subnet.backend.id}"]
    20  }
    21  ```
    22  
    23  ## Argument Reference
    24  
    25  The following arguments are supported:
    26  
    27  * `name` - (Required) The name of the DB subnet group.
    28  * `description` - (Required) The description of the DB subnet group.
    29  * `subnet_ids` - (Required) A list of VPC subnet IDs.
    30  
    31  ## Attributes Reference
    32  
    33  The following attributes are exported:
    34  
    35  * `id` - The db subnet group name.
    36