File tree Expand file tree Collapse file tree 9 files changed +103
-55
lines changed
pubsub_scheduled_multiple Expand file tree Collapse file tree 9 files changed +103
-55
lines changed Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- provider "google-beta" {
18- version = " ~> 3.33"
19- project = var. project_id
20- region = var. region
21- }
22-
23- provider "google" {
24- version = " ~> 3.33"
25- project = var. project_id
26- region = var. region
27- }
28-
2917module "log_slack_alerts_example" {
3018 source = " ../../"
3119 project_id = var. project_id
Original file line number Diff line number Diff line change 1+ /* *
2+ * Copyright 2021 Google LLC
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
17+ terraform {
18+ required_providers {
19+ google = {
20+ source = " hashicorp/google"
21+ version = " ~> 4.0"
22+ }
23+ google-beta = {
24+ source = " hashicorp/google-beta"
25+ version = " ~> 4.0"
26+ }
27+ }
28+ required_version = " >= 0.13"
29+ }
Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- terraform {
18- required_version = " >= 0.12"
19- }
20-
21- provider "google-beta" {
22- version = " ~> 3.33"
23- project = var. project_id
24- region = var. region
25- }
26-
27- provider "google" {
28- version = " ~> 3.33"
29- project = var. project_id
30- region = var. region
31- }
32-
3317resource "random_pet" "main" {
3418 length = 2
3519 separator = " -"
Original file line number Diff line number Diff line change 1+ /* *
2+ * Copyright 2021 Google LLC
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
17+ terraform {
18+ required_providers {
19+ google = {
20+ source = " hashicorp/google"
21+ version = " ~> 4.0"
22+ }
23+ google-beta = {
24+ source = " hashicorp/google-beta"
25+ version = " ~> 4.0"
26+ }
27+ random = {
28+ source = " hashicorp/random"
29+ }
30+ }
31+ required_version = " >= 0.13"
32+ }
Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- terraform {
18- required_version = " >= 0.12"
19- }
20-
21- provider "google-beta" {
22- version = " ~> 3.33"
23- project = var. project_id
24- region = var. region
25- }
26-
27- provider "google" {
28- version = " ~> 3.33"
29- project = var. project_id
30- region = var. region
31- }
32-
3317module "pubsub_scheduled_1" {
3418 source = " ../../"
3519 project_id = var. project_id
Original file line number Diff line number Diff line change 1+ /* *
2+ * Copyright 2021 Google LLC
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
17+ terraform {
18+ required_providers {
19+ google = {
20+ source = " hashicorp/google"
21+ version = " ~> 4.0"
22+ }
23+ google-beta = {
24+ source = " hashicorp/google-beta"
25+ version = " ~> 4.0"
26+ }
27+ }
28+ required_version = " >= 0.13"
29+ }
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ terraform {
2020
2121 google = {
2222 source = " hashicorp/google"
23- version = " ~> 3.53"
23+ version = " >= 3.53, < 5.0 "
2424 }
2525 }
2626
Original file line number Diff line number Diff line change 1515 */
1616
1717terraform {
18- required_version = " >= 0.12"
19- }
20-
21- provider "google" {
22- version = " ~> 3.53"
23- }
24-
25- provider "google-beta" {
26- version = " ~> 3.35"
18+ required_version = " >= 0.13"
19+ required_providers {
20+ google = {
21+ source = " hashicorp/google"
22+ version = " ~> 3.53"
23+ }
24+ google-beta = {
25+ source = " hashicorp/google-beta"
26+ version = " ~> 3.35"
27+ }
28+ }
2729}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ terraform {
2020
2121 google = {
2222 source = " hashicorp/google"
23- version = " ~> 3.53"
23+ version = " >= 3.53, < 5.0 "
2424 }
2525 }
2626
You can’t perform that action at this time.
0 commit comments