Merge branch 'master' into feature/fast-cicd-github-enable-populating-of-data-directory-sample-files-and-update-dependencies
This commit is contained in:
commit
892b5b3446
|
@ -13,5 +13,5 @@ They are meant to be used as minimal but complete starting points to create actu
|
||||||
|
|
||||||
### Cloud Run series
|
### Cloud Run series
|
||||||
|
|
||||||
<a href="./cloud-run-explore/" title="Cloud Run series"><img src="./cloud-run-corporate/images/use-case-4.png" align="left" width="280px"></a> These are a series of blueprints developing the chapters of the __Serverless Networking Guide__ (to be released soon), focused in Cloud Run.
|
<a href="./cloud-run-explore/" title="Cloud Run series"><img src="./cloud-run-corporate/images/use-case-4.png" align="left" width="280px"></a> These are a series of [blueprints](./cloud-run-explore/) developing the chapters of the [__Serverless Networking Guide__](https://services.google.com/fh/files/misc/serverless_networking_guide.pdf), focused in Cloud Run.
|
||||||
<br clear="left">
|
<br clear="left">
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
This blueprint contains all the necessary Terraform modules to build and __privately__ expose a Cloud Run service in a variety of use cases.
|
This blueprint contains all the necessary Terraform modules to build and __privately__ expose a Cloud Run service in a variety of use cases.
|
||||||
|
|
||||||
The content of this blueprint corresponds to the chapter '_Developing an enterprise application - The corporate environment_' of the __Serverless Networking Guide__ (to be released soon). This guide is an easy to follow introduction to Cloud Run, where a couple of friendly characters will guide you from the basics to more advanced topics with a very practical approach and in record time! The code here complements this learning and allows you to test the scenarios presented and your knowledge.
|
The content of this blueprint corresponds to the chapter '_Developing an enterprise application - The corporate environment_' of the [__Serverless Networking Guide__](https://services.google.com/fh/files/misc/serverless_networking_guide.pdf). This guide is an easy to follow introduction to Cloud Run, where a couple of friendly characters will guide you from the basics to more advanced topics with a very practical approach and in record time! The code here complements this learning and allows you to test the scenarios presented and your knowledge.
|
||||||
|
|
||||||
If you are interested in following this guide, take a look to the chapters' blueprints:
|
If you are interested in following this guide, take a look to the chapters' blueprints:
|
||||||
* [My serverless "Hello, World! - Exploring Cloud Run](https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/tree/master/blueprints/serverless/cloud-run-explore)
|
* [My serverless "Hello, World! - Exploring Cloud Run](https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/tree/master/blueprints/serverless/cloud-run-explore)
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
This blueprint contains all the necessary Terraform modules to build and __publicly__ expose Cloud Run services in a variety of use cases.
|
This blueprint contains all the necessary Terraform modules to build and __publicly__ expose Cloud Run services in a variety of use cases.
|
||||||
|
|
||||||
The content of this blueprint corresponds to the chapter '_My serverless "Hello, World! - Exploring Cloud Run_' of the __Serverless Networking Guide__ (to be released soon). This guide is an easy to follow introduction to Cloud Run, where a couple of friendly characters will guide you from the basics to more advanced topics with a very practical approach and in record time! The code here complements this learning and allows you to test the scenarios presented and your knowledge.
|
The content of this blueprint corresponds to the chapter '_My serverless "Hello, World! - Exploring Cloud Run_' of the [__Serverless Networking Guide__](https://services.google.com/fh/files/misc/serverless_networking_guide.pdf). This guide is an easy to follow introduction to Cloud Run, where a couple of friendly characters will guide you from the basics to more advanced topics with a very practical approach and in record time! The code here complements this learning and allows you to test the scenarios presented and your knowledge.
|
||||||
|
|
||||||
If you are interested in following this guide, take a look to the chapters' blueprints:
|
If you are interested in following this guide, take a look to the chapters' blueprints:
|
||||||
* [My serverless "Hello, World! - Exploring Cloud Run](https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/tree/master/blueprints/serverless/cloud-run-explore)
|
* [My serverless "Hello, World! - Exploring Cloud Run](https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/tree/master/blueprints/serverless/cloud-run-explore)
|
||||||
|
|
|
@ -122,6 +122,8 @@ module "branch-gke-dev-gcs" {
|
||||||
project_id = var.automation.project_id
|
project_id = var.automation.project_id
|
||||||
name = "dev-resman-gke-0"
|
name = "dev-resman-gke-0"
|
||||||
prefix = var.prefix
|
prefix = var.prefix
|
||||||
|
location = var.locations.gcs
|
||||||
|
storage_class = local.gcs_storage_class
|
||||||
versioning = true
|
versioning = true
|
||||||
iam = {
|
iam = {
|
||||||
"roles/storage.objectAdmin" = [module.branch-gke-dev-sa.0.iam_email]
|
"roles/storage.objectAdmin" = [module.branch-gke-dev-sa.0.iam_email]
|
||||||
|
@ -134,6 +136,8 @@ module "branch-gke-prod-gcs" {
|
||||||
project_id = var.automation.project_id
|
project_id = var.automation.project_id
|
||||||
name = "prod-resman-gke-0"
|
name = "prod-resman-gke-0"
|
||||||
prefix = var.prefix
|
prefix = var.prefix
|
||||||
|
location = var.locations.gcs
|
||||||
|
storage_class = local.gcs_storage_class
|
||||||
versioning = true
|
versioning = true
|
||||||
iam = {
|
iam = {
|
||||||
"roles/storage.objectAdmin" = [module.branch-gke-prod-sa.0.iam_email]
|
"roles/storage.objectAdmin" = [module.branch-gke-prod-sa.0.iam_email]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* Copyright 2022 Google LLC
|
* Copyright 2023 Google LLC
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -73,4 +73,12 @@ resource "google_project_iam_member" "shared_vpc_host_robots" {
|
||||||
? "serviceAccount:${local.service_account_cloud_services}"
|
? "serviceAccount:${local.service_account_cloud_services}"
|
||||||
: "serviceAccount:${local.service_accounts_robots[each.value.service]}"
|
: "serviceAccount:${local.service_accounts_robots[each.value.service]}"
|
||||||
)
|
)
|
||||||
|
depends_on = [
|
||||||
|
google_project_service.project_services,
|
||||||
|
google_project_service_identity.servicenetworking,
|
||||||
|
google_project_service_identity.jit_si,
|
||||||
|
google_project_default_service_accounts.default_service_accounts,
|
||||||
|
data.google_bigquery_default_service_account.bq_sa,
|
||||||
|
data.google_storage_project_service_account.gcs_sa,
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue