Skip to content

Commit

Permalink
Format inline HCL in ACC tests with github.com/katbyte/terrafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
pdecat committed Nov 30, 2018
1 parent 3b0e217 commit 6b60d04
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -419,20 +419,25 @@ resource "kubernetes_replication_controller" "test" {
TestAnnotationOne = "one"
TestAnnotationTwo = "two"
}
labels {
TestLabelOne = "one"
TestLabelTwo = "two"
TestLabelOne = "one"
TestLabelTwo = "two"
TestLabelThree = "three"
}
name = "%s"
}
spec {
replicas = 1000 # This is intentionally high to exercise the waiter
selector {
TestLabelOne = "one"
TestLabelTwo = "two"
TestLabelOne = "one"
TestLabelTwo = "two"
TestLabelThree = "three"
}
template {
container {
image = "nginx:1.7.8"
Expand Down
3 changes: 3 additions & 0 deletions kubernetes/resource_kubernetes_replication_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ resource "kubernetes_replication_controller" "test" {
TestAnnotationFive = "five"
}
}
spec {
container {
image = "nginx:1.7.8"
Expand Down Expand Up @@ -554,6 +555,7 @@ resource "kubernetes_replication_controller" "test" {
TestLabelThree = "three"
}
}
spec {
container {
name = "nginx"
Expand Down Expand Up @@ -629,6 +631,7 @@ resource "kubernetes_replication_controller" "test" {
TestAnnotationSix = "six"
}
}
spec {
container {
image = "nginx:1.7.9"
Expand Down

0 comments on commit 6b60d04

Please sign in to comment.