https://github.com/s1mark/mzl7y1
- GCP project - https://console.cloud.google.com/home/dashboard?project=ekke-cloud
- Terraform binary - https://developer.hashicorp.com/terraform/downloads
- Terraform site - https://www.terraform.io/
gcloud auth login
gcloud auth application-default login
Change the directory to your workspace
terraform init
terraform plan
terraform apply
terraform destroy
Change your working directory where you want to download the repository and then issue the following command
$ git clone https://github.com/s1mark/cloud_hun.git
Create a new branch originated from the main branch. Refresh main prior
$(main) git pull
$(main) git checkout -b my-branch main
After working on your branch add a specific file/path or add every change
$(my-branch) git add folder/file_you_have_changed
$(my-branch) git add -A
$(my-branch) git commit -m "your_custom_message"
In our example we created a local branch name 'my-branch'
$(my-branch) git push -u origin my-branch
Before starting your work it is advised to pull down the changes that have been made to the main branch
$(my-branch) git checkout main
$(main) git pull
$(main) git checkout my-branch
Since you have pulled down changes that were made on the main branch. It is advised to merge it to your branch.
$(my-branch) git merge main