Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing host argument of connection block? #5

Open
gdsotirov opened this issue Aug 21, 2020 · 0 comments
Open

Missing host argument of connection block? #5

gdsotirov opened this issue Aug 21, 2020 · 0 comments

Comments

@gdsotirov
Copy link

Should not the connection block of the remote-exec provisioner have the required host argument? While I was playing with the GCP example, Terraform 0.13 stopped me with the following error:

Error: Missing required argument

  on main.tf line 50, in resource "google_compute_instance" "tfansible":
  50: 		connection {

The argument "host" is required, but no definition was found.

P.S. I'm using SSH agent, so I removed private key definition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant