You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the salt-masterless provisioner to provision a single EC2 instance according to the states repo configured.
I'm able to ssh into the spawned instance, but the terraform binary doesn't appear to be able to, from the same machine. I'm using the latest release of terraform, as it fixed the only issue that seemed related.
terraform plan -var-file=terraform.tfvars apply.out
terraform apply apply.out
Additional Context
I have set my AWS_PROFILE environment variable. I'm also executing the terraform commands via a make file, but the target basically just runs: terraform init, terraform plan, then terraform apply. Not complicated.
FWIW, the salt-masterless provisioner in Packer 1.2.0 works perfectly. I don't know off hand if either project shares any code, but that might be worth investigating.
Thanks for filing the issue. The salt-masterless provisioner did not retry to connection if the host was not yet responsive. This should be fixed in master by #17434.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Apr 4, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm trying to use the salt-masterless provisioner to provision a single EC2 instance according to the states repo configured.
I'm able to ssh into the spawned instance, but the terraform binary doesn't appear to be able to, from the same machine. I'm using the latest release of terraform, as it fixed the only issue that seemed related.
Terraform Version
Terraform Configuration Files
Debug Output
debug output
Expected Behavior
EC2 instance would be provisioned using the saltmaster.
Actual Behavior
Exits with an error:
Steps to Reproduce
terraform plan -var-file=terraform.tfvars apply.out
terraform apply apply.out
Additional Context
I have set my AWS_PROFILE environment variable. I'm also executing the terraform commands via a make file, but the target basically just runs: terraform init, terraform plan, then terraform apply. Not complicated.
References
The text was updated successfully, but these errors were encountered: