Skip to content

Commit

Permalink
r/eip: Lint cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
YakDriver committed Apr 28, 2021
1 parent 72b9559 commit b05bcf3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions aws/resource_aws_eip_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1018,25 +1018,25 @@ resource "aws_eip" "test" {

const testAccAWSEIPConfig_BYOIPAddress_custom_default = `
resource "aws_eip" "bar" {
vpc = true
vpc = true
}
`

func testAccAWSEIPConfig_BYOIPAddress_custom(address string) string {
return fmt.Sprintf(`
resource "aws_eip" "bar" {
vpc = true
address = "%s"
address = %[1]q
}
`, address)
}

func testAccAWSEIPConfig_BYOIPAddress_custom_with_PublicIpv4Pool(address string, poolname string) string {
return fmt.Sprintf(`
resource "aws_eip" "bar" {
vpc = true
address = "%[1]s"
public_ipv4_pool = "%[2]s"
vpc = true
address = %[1]q
public_ipv4_pool = %[2]q
}
`, address, poolname)
}
Expand Down

0 comments on commit b05bcf3

Please sign in to comment.