Skip to content

Terraform module for building out a bucket to old Terraform state on Google Cloud Services

Notifications You must be signed in to change notification settings

newcontext-oss/terraform-google-acme-bucket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-google-acme-bucket

Terraform module for building out storage bucket on Google Cloud Services

It builds a storage bucket to hold Terraform state

Use

Call it as a module from another Terraform repository.

module "bucket" {
  source = "terraform-google-acme-bucket"

  bucket_name = "Your bucket name"
}

Testing

To build, validate and then destroy run these commands below:

bundle exec kitchen converge
bundle exec kitchen verify
bundle exec kitchen destroy

Prerequisites

  • Ruby 2.2 or greater
  • Terraform >= 0.10.2, < 0.12
  • gcloud command line utility (https://cloud.google.com/sdk/)
  • Google Cloud Project with a service account
  • Download service account credentials to: credentials.json
  • Create a local Kitchen configuration file: kitchen.local.yml, add this content:
driver:
  variables:
    gcloud_project: <project-id>

About

Terraform module for building out a bucket to old Terraform state on Google Cloud Services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •