diff options
author | jakefeasel <jfeasel@gmail.com> | 2015-05-16 10:41:32 -0700 |
---|---|---|
committer | jakefeasel <jfeasel@gmail.com> | 2015-05-16 10:41:32 -0700 |
commit | 99b5f5aa724d1ded9bf9b359122bf6b79d7c46ac (patch) | |
tree | 0afed902a19fe50fca5fb7e500daaac0e9d9c03a | |
parent | 810c359cf2ef1c0351d64329526ebedccb42d1df (diff) | |
download | sqlfiddle2-99b5f5aa724d1ded9bf9b359122bf6b79d7c46ac.zip sqlfiddle2-99b5f5aa724d1ded9bf9b359122bf6b79d7c46ac.tar.gz sqlfiddle2-99b5f5aa724d1ded9bf9b359122bf6b79d7c46ac.tar.bz2 |
Excluding the sync of build folders when provisioning to AWS
-rw-r--r-- | Vagrantfile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Vagrantfile b/Vagrantfile index 7062c9b..53cae60 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -32,6 +32,10 @@ VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| + config.vm.provider "aws" do |aws, override| + override.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: [".vagrant/", ".git/", "target/", "node_modules/"] + end + # VM for commercial databases (Oracle and SQL Server) running on a commercial OS (Windows 2008 Server) # Note that it is optional; it won't start up by default. If you want to start it, you have to manually call it like so: # vagrant up windows @@ -74,7 +78,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| mysql56.vm.box = "ubuntu/trusty64" mysql56.vm.network "private_network", ip: "10.0.0.15" - mysql56.vm.provider "aws" do |aws| + mysql56.vm.provider "aws" do |aws, override| aws.private_ip_address = "10.0.0.15" end end @@ -84,7 +88,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| mysql55.vm.box = "ubuntu/trusty64" mysql55.vm.network "private_network", ip: "10.0.0.18" - mysql55.vm.provider "aws" do |aws| + mysql55.vm.provider "aws" do |aws, override| aws.instance_type = "t2.micro" aws.private_ip_address = "10.0.0.18" end @@ -95,7 +99,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| postgresql93.vm.box = "ubuntu/trusty64" postgresql93.vm.network "private_network", ip: "10.0.0.19" - postgresql93.vm.provider "aws" do |aws| + postgresql93.vm.provider "aws" do |aws, override| aws.instance_type = "t2.micro" aws.private_ip_address = "10.0.0.19" end @@ -148,7 +152,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| pgpool.vm.box = "ubuntu/trusty64" pgpool.vm.network "private_network", ip: "10.0.0.20" - pgpool.vm.provider "aws" do |aws| + pgpool.vm.provider "aws" do |aws, override| aws.instance_type = "t2.micro" aws.private_ip_address = "10.0.0.20" end |