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

Use Terraform's -chdir flag #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

johnboiles
Copy link

After Terraform v0.13 you can no longer pass in the terraform directory as an argument, so some things needed to be reworked here.

@@ -60,7 +61,6 @@ resource "null_resource" "update_ydns" {
type = "ssh"
user = "root"
host = digitalocean_droplet.wg.ipv4_address
private_key = file("~/.ssh/id_rsa")
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I stuck this in because

  • This is the default anyways
  • Not including this will allow terraform to use your ssh-agent to use passphrase-protected keys

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

Successfully merging this pull request may close these issues.

1 participant