petitviolet blog

    terraform (2 posts)

    Written by petitviolet

    GCP IAP protected Cloud Run Application by Terraform

    Terraform to build a Cloud Run Application protected by GCP Identity-Aware Proxy
    Google Cloud(GCP) has Identity-Aware Proxy that uses ID and contexts to protect applications and VMs from unexpected access. Thanks to IAP, it's a way easy to protect an application running on Cloud Run by requiring Google login within the organization, for example.

    Terraform to manage GCP Service Accounts

    Terraform provides a few methods for managing Service Accounts in GCP. This post attempts to describe how to create Service Accounts in a good manner.
    The Google provider of Terraform has some mechanisms to manage Service Accounts in GCP as followings. - [google_service_account_iam]( - google_service_account_iam_policy - google_servi