Difference between revisions of "Terraform provisioner: local-exec"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
     command = "echo your_text_goes_here"
 
     command = "echo your_text_goes_here"
 
  }
 
  }
 +
 +
  provisioner "local-exec" {
 +
    command = "[[mysql --host]]=${[[self.]]address} --port=${self.port} --user=${self.username} --password=${self.password} < ./schema.sql"
 +
    }
 +
  }
  
  

Revision as of 08:36, 31 March 2023

Advertising: