DetectionLab icon indicating copy to clipboard operation
DetectionLab copied to clipboard

aws terraform makes a logger with no splunk

Open ezztahoun opened this issue 4 years ago • 1 comments

  • Operating System Version: na
  • Deploying via (VirtualBox/VMWare/AWS/Azure/ESXi): AWS
  • Vagrant Version (if applicable): na

Please verify that you are building from an updated Master branch before filing an issue.

no splunk installed on logger - no error on terraform about splunk

only errors from terraform apply are are as follows:

│ Warning: Argument is deprecated │ │ with provider["registry.terraform.io/hashicorp/aws"], │ on main.tf line 3, in provider "aws": │ 3: shared_credentials_file = var.shared_credentials_file Use shared_credentials_files instead. [0/1077] ╵ ╷ │ Error: remote-exec provisioner error │ │ with aws_instance.logger, │ on main.tf line 184, in resource "aws_instance" "logger": │ 184: provisioner "remote-exec" { │ │ timeout - last error: dial tcp 54.226.224.17:22: i/o timeout ╵ ╷ │ Error: file provisioner error │ │ with aws_instance.dc, │ on main.tf line 220, in resource "aws_instance" "dc": │ 220: provisioner "file" { │ │ timeout - last error: unknown error Post "http://3.85.88.175:5985/wsman": dial tcp 3.85.88.175:5985: i/o timeout ╵ ╷ │ Error: file provisioner error │ │ with aws_instance.wef, │ on main.tf line 266, in resource "aws_instance" "wef": │ 266: provisioner "file" { │ │ timeout - last error: unknown error Post "http://54.162.127.3:5985/wsman": dial tcp 54.162.127.3:5985: i/o timeout ╵ ╷ │ Error: file provisioner error │ │ with aws_instance.win10, │ on main.tf line 312, in resource "aws_instance" "win10": │ 312: provisioner "file" { │ │ timeout - last error: unknown error Post "http://54.156.49.61:5985/wsman": dial tcp 54.156.49.61:5985: i/o timeout

ezztahoun avatar Jun 30 '22 22:06 ezztahoun

Hello,

You need to fill out the ip_whitelist in terraform.tfvars. Your machine is failing to connect to SSH due to this.

clong avatar Jul 02 '22 21:07 clong