This is terraform module that will help you deploy a Google Cloud Storage on GCP.
This module will:
- Create a bucket with NEARLINE Storage Class with Private ACL, with 2 conditions. Read more about NEARLINE Storage Class at here
- Create a service account for created bucket.
module "bucket" {
source = "github.com/ducmeit1/tf-storage-gcp"
gcp_project = "driven-stage-269911"
name = "nearline-class-bucket"
bucket_location = "ASIA"
bucket_force_destroy = false
}
terraform plan
terraform apply --auto-approve