Giter Club home page Giter Club logo

gcp-terraform's Introduction

gcp-terraform

Repo to hold Terraform code for databricks on GCP.

Purpose

The purpose of this solution is to automate the process of service account creation, workspace creation, unity catalog creation and creation of sample databases in workspaces.

How to setup you local workstation for GCP Terraform:

Install the gcloud sdk,authenticate with GCP and run terraform:

  1. https://cloud.google.com/sdk/docs/install
  2. From gcloud shell run the following
  3. gcloud auth application-default login โ€“ to logon to gcp
  4. Copy the url and open it in chrome
  5. Open gcloud shell
  6. SET CLOUDSDK_PYTHOn=C:\Users\PC5273\AppData\Local\Programs\Python\Python310\python
  7. Run the terraform
  8. cd service_account_creation
  9. RUN terraform init
  10. RUN terraform plan -var-file=variables.tfvars
  11. RUN terraform apply -var-file=variables.tfvars
  12. Manually Add the Google service account to the Databricks on Google Cloud account - DOC_LINK
  13. cd workspace_creation
  14. RUN terraform init
  15. RUN terraform plan -var-file=variables.tfvars
  16. RUN terraform apply -var-file=variables.tfvars
  17. cd unity_catalog_creation
  18. RUN terraform init
  19. RUN terraform plan -var-file=variables.tfvars
  20. RUN terraform apply -var-file=variables.tfvars

Details on submodules

  1. Service account creation readme
  2. Workspace creation readme
  3. Unity catalog creation readme

gcp-terraform's People

Contributors

manoharendla avatar

Watchers

 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.