Git Product home page Git Product logo

pandora-im-deployments's Introduction

Managing GCP resources using Infrastructure Manager

This repository contains Terraform code and shell scripts for provisioning and managing GCP resources using GCP Infrastructure Manager.

Prerequisites

Before you can use this Terraform code, ensure that you have the following prerequisites installed:

Getting Started

To get started with this proposal, follow these steps:

  1. Clone the repository:
git clone https://github.com/g-awmalik/pandora-im-deployments.git
  1. Setup environment variables:

Edit env_setup.sh and fill in values for:

  1. Your organization ID
  2. The folder ID under which you plan to create resources for this solution
  3. The billing account you intended to use for creating new projects
source ./scripts/env_setup.sh
  1. Setup bootstrap resources:
cd bootstrap
terraform init
terraform apply --auto-approve
cd ..
source ./scripts/tf_outputs.sh bootstrap

Note: Before proceeding give the pdr-im-org-setup service account roles/billing.user on the billing account you plan to use.

  1. Setup Org Hierarchy:
./1_org_hierarchy.sh
source ./scripts/tf_outputs_im.sh org-hierarchy
  1. Setup Platform Service Accounts:
./2_sa_platform.sh
source ./scripts/tf_outputs_im.sh sa-platform

Note: Before proceeding give the pdr-sa-app-dev & pdr-sa-app-prod service accounts roles/billing.user on the billing account you plan to use. These two service accounts will be creating projects in the development and production folder respectively.

  1. Setup Secrets:
./3_secrets.sh
  1. Setup Shared VPC:
./5_shared_vpc.sh
  1. Setup Development Application Projects:
./6_app_dev.sh

License

This repository is licensed under the Apache 2.0 License.

pandora-im-deployments's People

Contributors

g-awmalik 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.