Skip to content

Files

Latest commit

90e2943 · Mar 28, 2024

History

History

cloud-armor

Example usage

This example deploys Cloud Armor to ensure requests to the default backend are coming from GitHub Webhooks, and adds another policy to restrict access to the IAP backend to an example CIDR.

Since IAP is enabled, two backend services will be created:

  • atlantis: the backend to receive GitHub events, protected with Cloud Armor
  • atlantis-iap: the backend to serve the Atlantis UI, protected with IAP

Read through the below before you deploy this module.

Prerequisites

This module expects that you already own or create the below resources yourself.

If you prefer an example that includes the above resources, see complete example.

How to deploy

See main.tf and the server-atlantis.yaml.

After it's successfully deployed

Once you're done, see Configuring Webhooks for Atlantis