This repository was archived by the owner on Feb 6, 2026. It is now read-only.
Commit 5ec548b
authored
Feat/web app deployments (#4)
* Add core variables for GCP infrastructure and remove obsolete network variables
* Refactor variable descriptions in variables.tf for clarity and consistency
* Add core GCP infrastructure modules for Cloud SQL and VPC networking
* Refactor GCP infrastructure setup: consolidate modules, add lifecycle config, and enhance variable definitions
* Refactor variables in variables.tf: remove obsolete network_self_link variable and reorder authorized_networks definition for clarity
* Refactor variable descriptions in variables.tf for consistency and clarity; remove obsolete network_self_link variable.
* Add provider configuration and refactor Cloud SQL module: replace obsolete network_self_link with direct reference to VPC network; remove outputs.tf file.
* Add Cloud Run and GCS infrastructure: create service accounts, build triggers, storage buckets, and IAM bindings; enhance variable definitions and descriptions for clarity.
* Update GCS bucket names in backend configuration for dev and prod environments
* Refactor init script for environment setup: improve error handling, streamline variable loading, and enhance bucket creation logic.
* Fix formatting in backend.tf: add newline at end of file for consistency
* Remove .env files from .gitignore to allow environment variable management
* Add environment configuration files and update Terraform templates for core infrastructure
- Create dev.env and prod.env for environment variable management
- Enhance init.sh to validate additional variables and create environment directories
- Add main.tf, provider.tf, and variables.tf templates for core module configuration
- Update backend.tf for GCS state management with dynamic prefixes
* Update terraform.tfvars generation to include network and database configuration variables
* Add terraform.tfvars.template for environment configuration in init directory
* Add lifecycle configuration for GCS bucket and update age and versioning rules
* Add 'env' variable to Terraform configuration for environment specification
* Add dependency on network peering routes for SQL database instance
* Add initial Terraform configuration for shared services environment
* Add GCS web app module and Cloud Build trigger configuration
* Add GCS web app load balancer configuration and update variables
* Add GCS web app module configuration and enable service account dependencies
* Refactor IAM resource names for consistency and add dependencies for Cloud Build service account
* Fix dependency order for service networking connection in network module
* Add template.env for environment configuration and remove lifecycle-config.json
* Remove shared services Terraform configuration files1 parent 7572f80 commit 5ec548b
40 files changed
Lines changed: 815 additions & 309 deletions
File tree
- terraform
- dev
- init
- env
- templates
- modules
- core
- network
- sql
- web-app-cloud-run
- web-app-gcs
- prod
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
28 | 15 | | |
29 | 16 | | |
| 17 | + | |
30 | 18 | | |
31 | 19 | | |
| 20 | + | |
| 21 | + | |
32 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
33 | 31 | | |
34 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
| 40 | + | |
| 41 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
8 | 7 | | |
9 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
10 | 44 | | |
11 | 45 | | |
12 | 46 | | |
13 | | - | |
14 | 47 | | |
15 | | - | |
| 48 | + | |
16 | 49 | | |
17 | 50 | | |
18 | 51 | | |
19 | | - | |
20 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
21 | 65 | | |
22 | 66 | | |
23 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
24 | 73 | | |
25 | | - | |
| 74 | + | |
26 | 75 | | |
27 | 76 | | |
28 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments