GithubHelp home page GithubHelp logo

harmelodic / automation-infrastructure Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 274 KB

Infrastructure to enable automation

License: Apache License 2.0

HCL 100.00%
infrastructure terraform gcp google-cloud google-cloud-platform

automation-infrastructure's Introduction

automation-infrastructure

Before actually creating real infrastructure automatically, we need to set up some things for the CI/CD tool (GitHub Actions/GitLab CI/whatever) to use when running Terraform, or any other Google API calls.
This means we need to:

  • Create a GCP Project to create this infrastructure in.
  • Enable some APIs needed.
  • Create a Service Account for CI/CD to use.
  • Create a Workload Identity Federation for our CI/CD tool to authenticate with GCP.
  • Give IAM permissions to the Service Account.
  • Create a Storage bucket for Terraform to store state in.

The src directory is where we make this happen, as is intended to be run locally against Google Cloud.

Requirements to run:

  • Be a Google Cloud Organisation Admin for harmelodic.com
  • Google Cloud SDK installed
  • gcloud auth login
  • gcloud auth application-default login
  • Terraform installed

Run:

terraform -chdir=src init
terraform -chdir=src apply

automation-infrastructure's People

Contributors

renovate[bot] avatar harmelodic avatar renovate-bot avatar

Watchers

Kostas Georgiou avatar

automation-infrastructure's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

github-actions
.github/workflows/main.yaml
  • actions/checkout v4
  • hashicorp/setup-terraform v3
.github/workflows/pull-request.yaml
  • actions/checkout v4
  • hashicorp/setup-terraform v3
terraform
src/provider.tf
  • google 5.33.0
  • random 3.6.2
  • hashicorp/terraform >=1.1.6
terraform-version
.terraform-version
  • hashicorp/terraform 1.8.5

  • Check this box to trigger a request for Renovate to run again on this repository

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.