minor clean ups after #3862
This commit is contained in:
parent
9ace240a58
commit
8181a4ea24
|
@ -137,7 +137,7 @@ func testAccCheckAWSRedshiftParameterGroupDestroy(s *terraform.State) error {
|
|||
if !ok {
|
||||
return err
|
||||
}
|
||||
if newerr.Code() != "InvalidRedshiftParameterGroup.NotFound" {
|
||||
if newerr.Code() != "ClusterParameterGroupNotFound" {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
|
|
@ -123,7 +123,7 @@ func testAccCheckAWSRedshiftSecurityGroupDestroy(s *terraform.State) error {
|
|||
if !ok {
|
||||
return err
|
||||
}
|
||||
if newerr.Code() != "InvalidRedshiftSecurityGroup.NotFound" {
|
||||
if newerr.Code() != "ClusterSecurityGroupNotFound" {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,6 +10,7 @@ Provides a Redshift Cluster Resource.
|
|||
|
||||
## Example Usage
|
||||
|
||||
```
|
||||
resource "aws_redshift_cluster" "default" {
|
||||
cluster_identifier = "tf-redshift-cluster"
|
||||
database_name = "mydb"
|
||||
|
@ -18,6 +19,7 @@ resource "aws_redshift_cluster" "default" {
|
|||
node_type = "dc1.large"
|
||||
cluster_type = "single-node"
|
||||
}
|
||||
```
|
||||
|
||||
## Argument Reference
|
||||
|
||||
|
|
Loading…
Reference in New Issue