Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »





https://www.terraform.io/docs/provisioners/local-exec.html

local-exec
# reboot the vSRX EC2 instannce ( to load the new interfaces )
resource "null_resource" "example1" {
    provisioner "local-exec" {
    command = "aws ec2 reboot-instances --instance-ids ${aws_instance.vSRX1.id} --no-verify"
  }
}






  • No labels