provider/aws: Update paramter for DB Option Group
This commit is contained in:
parent
4d66f1ca94
commit
f8d59b9e97
|
@ -407,7 +407,7 @@ resource "aws_db_instance" "bar" {
|
||||||
var testAccAWSDBInstanceConfigWithOptionGroup = fmt.Sprintf(`
|
var testAccAWSDBInstanceConfigWithOptionGroup = fmt.Sprintf(`
|
||||||
|
|
||||||
resource "aws_db_option_group" "bar" {
|
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"
|
option_group_description = "Test option group for terraform"
|
||||||
engine_name = "mysql"
|
engine_name = "mysql"
|
||||||
major_engine_version = "5.6"
|
major_engine_version = "5.6"
|
||||||
|
@ -426,7 +426,7 @@ resource "aws_db_instance" "bar" {
|
||||||
backup_retention_period = 0
|
backup_retention_period = 0
|
||||||
|
|
||||||
parameter_group_name = "default.mysql5.6"
|
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())
|
}`, acctest.RandInt())
|
||||||
|
|
||||||
func testAccReplicaInstanceConfig(val int) string {
|
func testAccReplicaInstanceConfig(val int) string {
|
||||||
|
|
|
@ -12,7 +12,7 @@ Provides an RDS DB option group resource.
|
||||||
|
|
||||||
```
|
```
|
||||||
resource "aws_db_option_group" "bar" {
|
resource "aws_db_option_group" "bar" {
|
||||||
option_group_name = "option-group-test-terraform"
|
name = "option-group-test-terraform"
|
||||||
option_group_description = "Terraform Option Group"
|
option_group_description = "Terraform Option Group"
|
||||||
engine_name = "sqlserver-ee"
|
engine_name = "sqlserver-ee"
|
||||||
major_engine_version = "11.00"
|
major_engine_version = "11.00"
|
||||||
|
@ -33,7 +33,7 @@ resource "aws_db_option_group" "bar" {
|
||||||
|
|
||||||
The following arguments are supported:
|
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.
|
* `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..
|
* `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.
|
* `major_engine_version` - (Required) Specifies the major version of the engine that this option group should be associated with.
|
||||||
|
|
Loading…
Reference in New Issue