Template:Provisioner example

From wikieduonline
Jump to navigation Jump to search
resource "aws_instance" "your_web" {
  # ...

  provisioner "local-exec" {
    command = "echo The server's IP address is ${self.private_ip}"
  }
}

Advertising: