minor clean ups after #3862

This commit is contained in:
clint shryock 2016-01-13 16:58:07 -06:00
parent 9ace240a58
commit 8181a4ea24
3 changed files with 4 additions and 2 deletions

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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