Difference between revisions of "Self."

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
  [[self.ipv4_address]]
 
  [[self.ipv4_address]]
 +
 +
{{provisioner example}}
  
  
  
 
* {{Terraform provisioners}}
 
* {{Terraform provisioners}}

Revision as of 08:40, 31 March 2023

self.ipv4_address
 resource "aws_instance" "your_web" {
  # ...

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


Advertising: