File tree Expand file tree Collapse file tree 11 files changed +52
-14
lines changed
test/integration/pubsub_scheduled Expand file tree Collapse file tree 11 files changed +52
-14
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright 2021 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
1
15
releaseType : terraform-module
2
16
handleGHRelease : true
Original file line number Diff line number Diff line change
1
+ # Copyright 2021 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
1
15
name : " Close stale issues"
2
16
on :
3
17
schedule :
Original file line number Diff line number Diff line change @@ -11,3 +11,6 @@ examples/**/*.zip
11
11
examples /** /terraform.tfvars
12
12
modules /** /terraform.tfvars
13
13
submodules /** /terraform.tfvars
14
+
15
+ # tf lock file
16
+ .terraform.lock.hcl
Original file line number Diff line number Diff line change 18
18
# Make will use bash instead of sh
19
19
SHELL := /usr/bin/env bash
20
20
21
- DOCKER_TAG_VERSION_DEVELOPER_TOOLS := 0.13
21
+ DOCKER_TAG_VERSION_DEVELOPER_TOOLS := 1.0
22
22
DOCKER_IMAGE_DEVELOPER_TOOLS := cft/developer-tools
23
23
REGISTRY_URL := gcr.io/cloud-foundation-cicd
24
24
Original file line number Diff line number Diff line change 3
3
This modules makes it easy to set up a scheduled job to trigger events/run functions.
4
4
5
5
## Compatibility
6
- This module is meant for use with Terraform 0.13. If you haven't
6
+ This module is meant for use with Terraform 0.13+ and tested using Terraform 1.0+. If you find incompatibilities using Terraform >=0.13, please open an issue.
7
+ If you haven't
7
8
[ upgraded] ( https://www.terraform.io/upgrade-guides/0-13.html ) and need a Terraform
8
9
0.12.x-compatible version of this module, the last released version
9
10
intended for Terraform 0.12.x is [ v1.6.0] ( https://registry.terraform.io/modules/terraform-google-modules/scheduled-function/google/1.6.0 ) .
Original file line number Diff line number Diff line change 38
38
- ' integration'
39
39
substitutions :
40
40
_DOCKER_IMAGE_DEVELOPER_TOOLS : ' cft/developer-tools'
41
- _DOCKER_TAG_VERSION_DEVELOPER_TOOLS : ' 0.13 '
41
+ _DOCKER_TAG_VERSION_DEVELOPER_TOOLS : ' 1.0 '
Original file line number Diff line number Diff line change 21
21
- ' lint'
22
22
substitutions :
23
23
_DOCKER_IMAGE_DEVELOPER_TOOLS : ' cft/developer-tools'
24
- _DOCKER_TAG_VERSION_DEVELOPER_TOOLS : ' 0.13 '
24
+ _DOCKER_TAG_VERSION_DEVELOPER_TOOLS : ' 1.0 '
Original file line number Diff line number Diff line change @@ -27,10 +27,6 @@ provider "google" {
27
27
}
28
28
29
29
module "log_slack_alerts_example" {
30
- providers = {
31
- google = google- beta
32
- }
33
-
34
30
source = " ../../"
35
31
project_id = var. project_id
36
32
job_name = " logs_query"
Original file line number Diff line number Diff line change @@ -36,10 +36,6 @@ resource "random_pet" "main" {
36
36
}
37
37
38
38
module "pubsub_scheduled_example" {
39
- providers = {
40
- google = google- beta
41
- }
42
-
43
39
source = " ../../"
44
40
project_id = var. project_id
45
41
job_name = " pubsub-example-${ random_pet . main . id } "
Original file line number Diff line number Diff line change 15
15
*/
16
16
17
17
output "name" {
18
- value = " ${ module . scheduled_project_cleaner . name } "
18
+ value = module. scheduled_project_cleaner . name
19
19
description = " The name of the job created"
20
20
}
21
21
22
22
output "project_id" {
23
- value = " ${ var . project_id } "
23
+ value = var. project_id
24
24
description = " The project ID"
25
25
}
Original file line number Diff line number Diff line change
1
+ # Copyright 2021 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
1
15
name : pubsub_scheduled
2
16
depends :
3
17
- name : inspec-gcp
You can’t perform that action at this time.
0 commit comments