Difference between revisions of "Template:Provisioner example"
Jump to navigation
Jump to search
(Created page with " resource "aws_instance" "your_web" { # ... provisioner "local-exec" { command = "echo The server's IP address is ${self.private_ip}" } }") |
|||
Line 3: | Line 3: | ||
provisioner "[[local-exec]]" { | provisioner "[[local-exec]]" { | ||
− | [[command]] = "echo The server's IP address is ${self.private_ip}" | + | [[command]] = "echo The server's IP address is ${[[self.]]private_ip}" |
} | } | ||
} | } |
Latest revision as of 08:40, 31 March 2023
resource "aws_instance" "your_web" { # ... provisioner "local-exec" { command = "echo The server's IP address is ${self.private_ip}" } }
Advertising: