petitviolet blog

    terraform (2 posts)

    icon
    Written by petitviolet

    GCP IAP protected Cloud Run Application by Terraform

    2023-01-18GCPCloudRunTerraform
    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. https://cloud.google.com/iap 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

    2022-06-30TerraformGCP
    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](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/google_service_account_iam) - google_service_account_iam_policy - google_servi