github.com/pmcatominey/terraform@v0.7.0-rc2.0.20160708105029-1401a52a5cc5/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 = "Timezone" 22 option_settings { 23 name = "TIME_ZONE" 24 value = "UTC" 25 } 26 } 27 28 option { 29 option_name = "TDE" 30 } 31 32 apply_immediately = true 33 } 34 ``` 35 36 ## Argument Reference 37 38 The following arguments are supported: 39 40 * `name` - (Required) The name of the Option group to be created. 41 * `option_group_description` - (Required) The description of the option group. 42 * `engine_name` - (Required) Specifies the name of the engine that this option group should be associated with.. 43 * `major_engine_version` - (Required) Specifies the major version of the engine that this option group should be associated with. 44 * `option` - (Optional) A list of Options to apply. 45 * `tags` - (Optional) A mapping of tags to assign to the resource. 46 47 Option blocks support the following: 48 49 * `option_name` - (Required) The Name of the Option (e.g. MEMCACHED). 50 * `option_settings` - (Optional) A list of option settings to apply. 51 * `port` - (Optional) The Port number when connecting to the Option (e.g. 11211). 52 * `db_security_group_memberships` - (Optional) A list of DB Security Groups for which the option is enabled. 53 * `vpc_security_group_memberships` - (Optional) A list of VPC Security Groups for which the option is enabled. 54 55 Option Settings blocks support the following: 56 57 * `name` - (Optional) The Name of the setting. 58 * `value` - (Optional) The Value of the setting. 59 60 ## Attributes Reference 61 62 The following attributes are exported: 63 64 * `arn` - The ARN of the db option group.