Initialize and update submodules:
git submodule init
git submodule update
The git submodule update
command fetches the commit specified in .git/modules
for each submodule of the parent Git repository. In order to update a submodule to the latest commit available from its remote reference, you will need to pull it directly:
cd <path/to/submodule>
git pull origin master
cd <path/to/parent>
git add . && git commit -m "Update submodules"
cd tf/
terraform init
terraform plan
terraform apply
NOTE: The Amazon CloudFront distribution can take up to 30 minutes to provision.
./publish