Skip to content

Commit

Permalink
Fix acceptance test linting
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilturek committed Nov 13, 2021
1 parent 9e7729c commit 7160e32
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ resource "aws_imagebuilder_image_recipe" "test" {
component_arn = aws_imagebuilder_component.test.arn
}
name = %[1]q
parent_image = "arn:${data.aws_partition.current.partition}:imagebuilder:${data.aws_region.current.name}:aws:image/amazon-linux-2-x86/x.x.x"
version = "1.0.0"
name = %[1]q
parent_image = "arn:${data.aws_partition.current.partition}:imagebuilder:${data.aws_region.current.name}:aws:image/amazon-linux-2-x86/x.x.x"
version = "1.0.0"
user_data_base64 = base64encode("helloworld")
}
Expand Down
18 changes: 9 additions & 9 deletions internal/service/imagebuilder/image_recipe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -980,14 +980,14 @@ func testAccImageRecipeUserDataBase64Config(rName string) string {
testAccImageRecipeBaseConfig(rName),
fmt.Sprintf(`
resource "aws_imagebuilder_image_recipe" "test" {
component {
component_arn = aws_imagebuilder_component.test.arn
}
name = %[1]q
parent_image = "arn:${data.aws_partition.current.partition}:imagebuilder:${data.aws_region.current.name}:aws:image/amazon-linux-2-x86/x.x.x"
version = "1.0.0"
user_data_base64 = base64encode("hello world")
}
component {
component_arn = aws_imagebuilder_component.test.arn
}
name = %[1]q
parent_image = "arn:${data.aws_partition.current.partition}:imagebuilder:${data.aws_region.current.name}:aws:image/amazon-linux-2-x86/x.x.x"
version = "1.0.0"
user_data_base64 = base64encode("hello world")
}
`, rName))
}

0 comments on commit 7160e32

Please sign in to comment.