Skip to content

Commit

Permalink
Fix terrafmt errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Nov 2, 2021
1 parent 2d84e21 commit 787bf3a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions internal/service/ec2/network_interface_sg_attachment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,14 +248,14 @@ resource "aws_security_group" "test" {
}
resource "aws_instance" "test" {
ami = data.aws_ami.amzn-ami-minimal-hvm-ebs.id
instance_type = data.aws_ec2_instance_type_offering.available.instance_type
subnet_id = aws_subnet.test.id
tags = {
Name = %[1]q
}
ami = data.aws_ami.amzn-ami-minimal-hvm-ebs.id
instance_type = data.aws_ec2_instance_type_offering.available.instance_type
subnet_id = aws_subnet.test.id
tags = {
Name = %[1]q
}
}
resource "aws_network_interface_sg_attachment" "test" {
network_interface_id = aws_instance.test.primary_network_interface_id
Expand Down
6 changes: 3 additions & 3 deletions internal/service/ec2/network_interface_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ resource "aws_network_interface" "test" {
func testAccENIIPV4PrefixCountConfig(rName string, ipv4PrefixCount int) string {
return acctest.ConfigCompose(testAccENIIPV4BaseConfig(rName) + fmt.Sprintf(`
resource "aws_network_interface" "test" {
subnet_id = aws_subnet.test.id
subnet_id = aws_subnet.test.id
ipv4_prefix_count = %[2]d
security_groups = [aws_security_group.test.id]
Expand Down Expand Up @@ -1137,8 +1137,8 @@ resource "aws_network_interface" "test" {
func testAccENIIPV6PrefixCountConfig(rName string, ipv6PrefixCount int) string {
return acctest.ConfigCompose(testAccENIIPV6BaseConfig(rName) + fmt.Sprintf(`
resource "aws_network_interface" "test" {
subnet_id = aws_subnet.test.id
private_ips = ["172.16.10.100"]
subnet_id = aws_subnet.test.id
private_ips = ["172.16.10.100"]
ipv6_prefix_count = %[2]d
security_groups = [aws_security_group.test.id]
Expand Down

0 comments on commit 787bf3a

Please sign in to comment.