github.com/jdextraze/terraform@v0.6.17-0.20160511153921-e33847c8a8af/website/source/docs/providers/aws/r/db_option_group.html.markdown (about)

     1  ---
     2  layout: "aws"
     3  page_title: "AWS: aws_db_option_group"
     4  sidebar_current: "docs-aws-resource-db-option-group"
     5  ---
     6  
     7  # aws\_db\_option\_group
     8  
     9  Provides an RDS DB option group resource.
    10  
    11  ## Example Usage
    12  
    13  ```
    14  resource "aws_db_option_group" "bar" {
    15    name = "option-group-test-terraform"
    16    option_group_description = "Terraform Option Group"
    17    engine_name = "sqlserver-ee"
    18    major_engine_version = "11.00"
    19  
    20    option {
    21  	option_name = "mirroring"
    22    }
    23  
    24    option {
    25   	option_name = "TDE"
    26    }
    27  	
    28    apply_immediately = true
    29  }
    30  ```
    31  
    32  ## Argument Reference
    33  
    34  The following arguments are supported:
    35  
    36  * `name` - (Required) The name of the Option group to be created.
    37  * `option_group_description` - (Required) The description of the option group.
    38  * `engine_name` - (Required) Specifies the name of the engine that this option group should be associated with..
    39  * `major_engine_version` - (Required) Specifies the major version of the engine that this option group should be associated with.
    40  * `option` - (Optional) A list of Options to apply.
    41  * `tags` - (Optional) A mapping of tags to assign to the resource.
    42  
    43  Option blocks support the following:
    44  
    45  * `option_name` - (Required) The Name of the Option (e.g. MEMCACHED).
    46  * `port` - (Optional) The Port number when connecting to the Option (e.g. 11211).
    47  * `db_security_group_memberships` - (Optional) A list of DB Security Groups for which the option is enabled.
    48  * `vpc_security_group_memberships` - (Optional) A list of VPC Security Groups for which the option is enabled.
    49  
    50  ## Attributes Reference
    51  
    52  The following attributes are exported:
    53  
    54  * `arn` - The ARN of the db option group.