Skip to content

Commit

Permalink
Merge pull request #21456 from hashicorp/t-shield-protection-group
Browse files Browse the repository at this point in the history
tests/shield/protection_group: update resource dependency
  • Loading branch information
anGie44 authored Oct 22, 2021
2 parents 3f3abc4 + 6c4ad2c commit add4530
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/service/shield/protection_group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -325,12 +325,12 @@ resource "aws_shield_protection_group" "test" {
func testAccShieldProtectionGroupConfig_members(rName string) string {
return acctest.ConfigCompose(testAccShieldProtectionElasticIPAddressConfig(rName), fmt.Sprintf(`
resource "aws_shield_protection_group" "test" {
depends_on = [aws_shield_protection.acctest]
depends_on = [aws_shield_protection.test]
protection_group_id = "%[1]s"
aggregation = "MAX"
pattern = "ARBITRARY"
members = ["arn:${data.aws_partition.current.partition}:ec2:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:eip-allocation/${aws_eip.sdkacctest.id}"]
members = ["arn:${data.aws_partition.current.partition}:ec2:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:eip-allocation/${aws_eip.test.id}"]
}
`, rName))
}

0 comments on commit add4530

Please sign in to comment.