Merge pull request #6558 from hashicorp/b-aws-db-option-group-name

provider/aws: Update paramter for DB Option Group
This commit is contained in:
James Nugent 2016-05-09 13:33:25 -04:00
commit 2d19957d8b
2 changed files with 4 additions and 4 deletions

View File

@ -407,7 +407,7 @@ resource "aws_db_instance" "bar" {
var testAccAWSDBInstanceConfigWithOptionGroup = fmt.Sprintf(`
resource "aws_db_option_group" "bar" {
option_group_name = "option-group-test-terraform"
name = "option-group-test-terraform"
option_group_description = "Test option group for terraform"
engine_name = "mysql"
major_engine_version = "5.6"
@ -426,7 +426,7 @@ resource "aws_db_instance" "bar" {
backup_retention_period = 0
parameter_group_name = "default.mysql5.6"
option_group_name = "${aws_db_option_group.bar.option_group_name}"
option_group_name = "${aws_db_option_group.bar.name}"
}`, acctest.RandInt())
func testAccReplicaInstanceConfig(val int) string {

View File

@ -12,7 +12,7 @@ Provides an RDS DB option group resource.
```
resource "aws_db_option_group" "bar" {
option_group_name = "option-group-test-terraform"
name = "option-group-test-terraform"
option_group_description = "Terraform Option Group"
engine_name = "sqlserver-ee"
major_engine_version = "11.00"
@ -33,7 +33,7 @@ resource "aws_db_option_group" "bar" {
The following arguments are supported:
* `option_group_name` - (Required) The name of the Option group to be created.
* `name` - (Required) The name of the Option group to be created.
* `option_group_description` - (Required) The description of the option group.
* `engine_name` - (Required) Specifies the name of the engine that this option group should be associated with..
* `major_engine_version` - (Required) Specifies the major version of the engine that this option group should be associated with.