service_account_config for Cloud Run v2

Additional changes:
* align vpc-connector interface to Cloud Functions
* split managed and unmanaged resources into separate files, this makes
  easier to introduce further changes
* add support for contexts
* move `vpc_connector` variable to variables.tf for Cloud Functions
* remove `create` from `vpc_connector` in Cloud Functions as it was
  sharing the meaning with `vpc_connector_create`
This commit is contained in:
Wiktor Niesiobędzki
2025-10-26 14:33:26 +00:00
parent 5d46e8b86b
commit 2e42c1b548
66 changed files with 2484 additions and 1543 deletions

View File

@@ -43,8 +43,7 @@ service_account_config = {
]
}
vpc_connector = {
create = true
name = "connector_name"
name = "connector_name"
}
vpc_connector_create = {
instances = {

View File

@@ -43,8 +43,7 @@ service_account_config = {
]
}
vpc_connector = {
create = true
name = "connector_name"
name = "connector_name"
}
vpc_connector_create = {
instances = {

View File

@@ -43,8 +43,7 @@ service_account_config = {
]
}
vpc_connector = {
create = true
name = "connector_name"
name = "connector_name"
}
vpc_connector_create = {
ip_cidr_range = "$cidr_ranges:test"