Skip to content

Terraform repo to provision Google Cloud Storage Bucket

Notifications You must be signed in to change notification settings

001AJD/my-gcs-bucket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Provision GCS bucket

Terraform to provision Google Cloud Storage Bucket

Steps to provision GCS bucket

  • Create terraform.tfvars file
  • Assign values to all variables. refer variables.tf file
  • Download keys to be used for GCP project and place in "Keys" folder. see providers.tf and update file path and name accordingly
  • Run terraform plan -out=tf.plan and review plan
  • Run terraform apply "tf.plan" command to create the bucket

Steps to destroy GCS bucket

  • Run terraform plan -out=tf.plan -destroy command and review plan
  • Run terraform apply "tf.plan" command to destroy the bucket

Steps to format terraform script

  • Run terraform fmt

About

Terraform repo to provision Google Cloud Storage Bucket

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages