File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 1
1
[ ![ Slalom] [ logo ]] ( https://slalom.com )
2
2
3
- # terraform-gcp-cloudfunction [ ![ Build Status] ( https://api.travis-ci.com/JamesWoolfenden/terraform-gcp-bastion .svg?branch=master )] ( https://travis-ci.com/JamesWoolfenden/terraform-gcp-bastion ) [ ![ Latest Release] ( https://img.shields.io/github/release/JamesWoolfenden/terraform-gcp-cloudfunction.svg )] ( https://github.com/JamesWoolfenden/terraform-gcp-cloudfunction/releases/latest )
3
+ # terraform-gcp-cloudfunction [ ![ Build Status] ( https://api.travis-ci.com/JamesWoolfenden/terraform-gcp-cloudfunction .svg?branch=master )] ( https://travis-ci.com/JamesWoolfenden/terraform-gcp-cloudfunction ) [ ![ Latest Release] ( https://img.shields.io/github/release/JamesWoolfenden/terraform-gcp-cloudfunction.svg )] ( https://github.com/JamesWoolfenden/terraform-gcp-cloudfunction/releases/latest )
4
4
5
5
The working cloudfunction module and example.
6
6
@@ -9,16 +9,19 @@ The working cloudfunction module and example.
9
9
Add ** module.cloudfunction.tf** to your code:-
10
10
11
11
``` terraform
12
- {
13
- source ="jameswoolfenden/cloudfunction/gcp"
14
- version = "0.0.4"
15
- common_tags = var.common_tags
16
- project = var.project
17
- app = var.app
18
- sourcezip = var.sourcezip
12
+ module cloudfunction {
13
+ source ="jameswoolfenden/cloudfunction/gcp"
14
+ version = "0.0.4"
15
+ common_tags = var.common_tags
16
+ lambda = var.lambda
17
+ project = var.project
18
+ region = var.region
19
+ sourcezippath = var.sourcezippath
19
20
}
20
21
```
21
22
23
+ See ** main.auto.tfvars** for the data to drive the module.
24
+
22
25
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
23
26
## Inputs
24
27
You can’t perform that action at this time.
0 commit comments