Giter Site home page Giter Site logo

osinfra-io / google-cloud-networking Goto Github PK

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

Infrastructure as Code (IaC) example for Google Cloud Platform networking resources.

Home Page: https://www.osinfra.io

License: GNU General Public License v2.0

HCL 100.00%
google-cloud-platform infrastructure-as-code terraform osinfra google-cloud-landing-zone-platform platform-team

google-cloud-networking's People

Contributors

brettcurtis avatar dependabot[bot] avatar osinfra-sa avatar

Stargazers

 avatar

Watchers

 avatar

google-cloud-networking's Issues

Add backend.tf symbolic link

Description

Add symlink in the global directory.

Acceptance

  • Symbolic link added

Implementation Notes

Additional Context

Fix production dns zone names

Tasks

Manage IAM roles for Kubernetes clusters

# Compute Subnetwork IAM Member Resource
# https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_subnetwork_iam

resource "google_compute_subnetwork_iam_member" "this" {
  for_each = toset(
    [
      "serviceAccount:${var.project_number}@cloudservices.gserviceaccount.com",
      "serviceAccount:service-${var.project_number}@container-engine-robot.iam.gserviceaccount.com"
    ]
  )

  member     = each.key
  project    = var.host_project_id
  region     = var.region
  role       = "roles/compute.networkUser"
  subnetwork = local.subnet
}

Allow service accounts to create DNS records

Service accounts that run workflows must be able to create DNS records. A good example of this is when dealing with Kubernetes ingress, we will want to wait for the load balancer and then assign an A record to the IP address provided.

Move code to a "global" directory structure

Description

Standardizing on a directory structure for global resources or "run once" and regional resources or "run many" aligns with our GitHub Actions and helps support things like multi-region deployments.

Acceptance

  • Standard directory structure in place

Implementation Notes

Additional Context

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.