mirror of https://github.com/hashicorp/terraform
The resource connection block was not being validated. Merge the two bodies, with the provider as the override, before validation.pull/20826/head
parent
1f241f8f83
commit
3c8b46fffe
@ -0,0 +1,8 @@
|
||||
resource "aws_instance" "foo" {
|
||||
provisioner "shell" {
|
||||
test_string = "test"
|
||||
connection {
|
||||
user = "test"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
resource "aws_instance" "foo" {
|
||||
connection {
|
||||
user = "test"
|
||||
}
|
||||
provisioner "shell" {
|
||||
test_string = "test"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue