Giter VIP home page Giter VIP logo

data-pipeline-poc's Introduction

Data Pipeline POC

  • Terraform code (Iac) to deploy data related AZ resources
  • GitHub Actions CI/CD pipeline

Getting Started

  1. Install latest PowerShell
  2. Install Azure Cli
  3. Install Terraform
  4. Learn Terraform

Create client id & client secret

Pipeline deployment cannot be done with user login/credentials but only with servide principal. The service principal should have proper privilege to access resource group/subscription.

az ad sp create-for-rbac --name "{sp-name}" --sdk-auth --role contributor --scopes /subscriptions/{subscription-id}

Log into azure account with service principal

This is to create remote backend and if you are testing Terraform code manually from Azure Cli/PowerShell

az login
az account set --subscription [SUBSCRIPTION_ID]

az login --service-principal --username [CLIENT_ID] --password [CLIENT_SECRET] --tenant [TENANT_ID]

If you are testing with CI/CD GitHub Actions, GitHub secrets should be updated in the repo with client id and client secret

Create AzureRm backend storage account

  • Update with values to create remote backend state create-remote-state and execute the Azure Cli commands to create resource group, storage account, and container.
  • Update the 'provider "azurerm"' in main.tf with the values you have used to store the backend remote state

data-pipeline-poc's People

Contributors

rkselvi avatar

Watchers

James Cloos 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.