Skip to content

Commit

Permalink
fix: adds public source/version in sub-modules at READMEs (#62)
Browse files Browse the repository at this point in the history
Co-authored-by: Grant Sorbo <gtsorbo@google.com>
  • Loading branch information
amandakarina and gtsorbo committed Jul 17, 2023
1 parent ff9b9b4 commit 0d84594
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions modules/secure-cloud-function-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ The resources/services/activations/deletions that this module will create/trigge
```hcl
module "secure_cloud_function_core" {
source = "GoogleCloudPlatform/cloud-functions/google//modules/secure-cloud-function-core"
version = "~> 0.3"
function_name = <FUNCTION-NAME>
function_description = <FUNCTION-DESCRIPTION>
Expand Down
5 changes: 3 additions & 2 deletions modules/secure-cloud-function-security/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ to be used by Cloud Function (2nd Gen).
## Usage

```hcl
module "cloud_function_security" {
source = "../secure-cloud-function-security"
module "secure_cloud_function_security" {
source = "GoogleCloudPlatform/cloud-functions/google//modules/secure-cloud-serverless-security"
version = "~> 0.3"
kms_project_id = <KMS PROJECT ID>
location = <KMS LOCATION>
Expand Down
5 changes: 3 additions & 2 deletions modules/secure-cloud-function/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ The resources/services/activations/deletions that this module will create/trigge
Basic usage of this module is as follows:

```hcl
module "secure_cloud_run" {
source = "../../modules/secure-cloud-function"
module "secure_cloud_function" {
source = "GoogleCloudPlatform/cloud-functions/google//modules/secure-cloud-function"
version = "~> 0.3"
function_name = <FUNCTION-NAME>
function_description = <FUNCTION-DESCRIPTION>
Expand Down

0 comments on commit 0d84594

Please sign in to comment.