Giter Club home page Giter Club logo

terraform-module-gcs's Introduction

Google Cloud Storage (GCS) Terraform Module

Terraform Module for Google Cloud Storage (GCS)

Terraform Version

Terraform 0.12.x

Input Variables

Name Description Type Default Required
bucket_name Google Cloud Storage (GCS) bucket Name. string n/a yes
enable_versioning Enable GCS Bucket versioning. bool false no
force_destroy Delete all objects when deleting bucket. bool false no
labels Labels to assign on the GCS bucket. map n/a yes
project_id GCS Project ID. string n/a yes
gcs_location GCS Location. string "EU" no
storage_class The Storage class of the GCS bucket. Supported Values - STANDARD, MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE. string "STANDARD" no

Usage

Example module invocation:

module "storage" {
  source      = "git::https://github.com/CloudNativeTech/terraform-module-gcs.git"
  bucket_name = "my-storage-34567"
  project_id  = "your-gcp-project-id"
  labels = {
    "environment" = "test"
    "team"        = "devops"
  }
}

Outputs

Name Description
name GCS bucket Name.
self_link URI of the GCS bucket.
url The base URL of the bucket, in the format gs://<bucket-name>

Changelog

See CHANGELOG.md

LICENSE

Please see LICENSE

Contact

Send email

terraform-module-gcs's People

Contributors

pradeepbhadani avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.