Skip to content

Commit

Permalink
Merge pull request hashicorp#1614 from david-wells-1/master
Browse files Browse the repository at this point in the history
updated with latest redshift service account ID's
  • Loading branch information
Ninir authored Sep 7, 2017
2 parents d0d7f75 + 98a1ec4 commit feb4998
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions aws/data_source_aws_redshift_service_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ var redshiftServiceAccountPerRegionMap = map[string]string{
"ca-central-1": "907379612154",
"eu-central-1": "053454850223",
"eu-west-1": "210876761215",
"eu-west-2": "307160386991",
"sa-east-1": "075028567923",
}

func dataSourceAwsRedshiftServiceAccount() *schema.Resource {
Expand Down
4 changes: 2 additions & 2 deletions aws/data_source_aws_redshift_service_account_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func TestAccAWSRedshiftServiceAccount_basic(t *testing.T) {
resource.TestStep{
Config: testAccCheckAwsRedshiftServiceAccountExplicitRegionConfig,
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr("data.aws_redshift_service_account.regional", "id", "210876761215"),
resource.TestCheckResourceAttr("data.aws_redshift_service_account.regional", "id", "307160386991"),
),
},
},
Expand All @@ -33,6 +33,6 @@ data "aws_redshift_service_account" "main" { }

const testAccCheckAwsRedshiftServiceAccountExplicitRegionConfig = `
data "aws_redshift_service_account" "regional" {
region = "eu-west-1"
region = "eu-west-2"
}
`

0 comments on commit feb4998

Please sign in to comment.