Skip to content

Commit 3172201

Browse files
authored
chore: add blueprint attribution (#479)
1 parent 900b423 commit 3172201

File tree

19 files changed

+200
-203
lines changed

19 files changed

+200
-203
lines changed

0-bootstrap/versions.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,9 @@ terraform {
3131
version = "~> 2.3"
3232
}
3333
}
34+
35+
provider_meta "google" {
36+
module_name = "blueprints/terraform/terraform-example-foundation:bootstrap/v1.0.0"
37+
}
38+
3439
}

1-org/envs/shared/versions.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,12 @@ terraform {
2626
version = ">= 3.50"
2727
}
2828
}
29+
30+
provider_meta "google" {
31+
module_name = "blueprints/terraform/terraform-example-foundation:org/v1.0.0"
32+
}
33+
34+
provider_meta "google-beta" {
35+
module_name = "blueprints/terraform/terraform-example-foundation:org/v1.0.0"
36+
}
2937
}

2-environments/envs/development/versions.tf renamed to 2-environments/modules/env_baseline/versions.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,12 @@ terraform {
2626
version = ">= 3.50"
2727
}
2828
}
29+
30+
provider_meta "google" {
31+
module_name = "blueprints/terraform/terraform-example-foundation:org/v1.0.0"
32+
}
33+
34+
provider_meta "google-beta" {
35+
module_name = "blueprints/terraform/terraform-example-foundation:org/v1.0.0"
36+
}
2937
}

3-networks/modules/base_shared_vpc/versions.tf

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,22 @@
1616

1717
terraform {
1818
required_version = ">= 0.13"
19+
required_providers {
20+
google = {
21+
source = "hashicorp/google"
22+
version = ">= 3.50"
23+
}
24+
google-beta = {
25+
source = "hashicorp/google-beta"
26+
version = ">= 3.50"
27+
}
28+
}
29+
30+
provider_meta "google" {
31+
module_name = "blueprints/terraform/terraform-example-foundation:base_shared_vpc/v1.0.0"
32+
}
33+
34+
provider_meta "google-beta" {
35+
module_name = "blueprints/terraform/terraform-example-foundation:base_shared_vpc/v1.0.0"
36+
}
1937
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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_version = ">= 0.13"
19+
required_providers {
20+
google = {
21+
source = "hashicorp/google"
22+
version = ">= 3.50"
23+
}
24+
google-beta = {
25+
source = "hashicorp/google-beta"
26+
version = ">= 3.50"
27+
}
28+
}
29+
30+
provider_meta "google" {
31+
module_name = "blueprints/terraform/terraform-example-foundation:dedicated_interconnect/v1.0.0"
32+
}
33+
34+
provider_meta "google-beta" {
35+
module_name = "blueprints/terraform/terraform-example-foundation:dedicated_interconnect/v1.0.0"
36+
}
37+
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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_version = ">= 0.13"
19+
required_providers {
20+
google = {
21+
source = "hashicorp/google"
22+
version = ">= 3.50"
23+
}
24+
google-beta = {
25+
source = "hashicorp/google-beta"
26+
version = ">= 3.50"
27+
}
28+
}
29+
30+
provider_meta "google" {
31+
module_name = "blueprints/terraform/terraform-example-foundation:hierarchical_firewall_policy/v1.0.0"
32+
}
33+
34+
provider_meta "google-beta" {
35+
module_name = "blueprints/terraform/terraform-example-foundation:hierarchical_firewall_policy/v1.0.0"
36+
}
37+
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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_version = ">= 0.13"
19+
required_providers {
20+
google = {
21+
source = "hashicorp/google"
22+
version = ">= 3.50"
23+
}
24+
google-beta = {
25+
source = "hashicorp/google-beta"
26+
version = ">= 3.50"
27+
}
28+
}
29+
30+
provider_meta "google" {
31+
module_name = "blueprints/terraform/terraform-example-foundation:partner_interconnect/v1.0.0"
32+
}
33+
34+
provider_meta "google-beta" {
35+
module_name = "blueprints/terraform/terraform-example-foundation:partner_interconnect/v1.0.0"
36+
}
37+
}

3-networks/modules/restricted_shared_vpc/versions.tf

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,22 @@
1616

1717
terraform {
1818
required_version = ">= 0.13"
19+
required_providers {
20+
google = {
21+
source = "hashicorp/google"
22+
version = ">= 3.50"
23+
}
24+
google-beta = {
25+
source = "hashicorp/google-beta"
26+
version = ">= 3.50"
27+
}
28+
}
29+
30+
provider_meta "google" {
31+
module_name = "blueprints/terraform/terraform-example-foundation:restricted_shared_vpc/v1.0.0"
32+
}
33+
34+
provider_meta "google-beta" {
35+
module_name = "blueprints/terraform/terraform-example-foundation:restricted_shared_vpc/v1.0.0"
36+
}
1937
}

2-environments/envs/non-production/versions.tf renamed to 3-networks/modules/transitivity/versions.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,12 @@ terraform {
2626
version = ">= 3.50"
2727
}
2828
}
29+
30+
provider_meta "google" {
31+
module_name = "blueprints/terraform/terraform-example-foundation:transitivity/v1.0.0"
32+
}
33+
34+
provider_meta "google-beta" {
35+
module_name = "blueprints/terraform/terraform-example-foundation:transitivity/v1.0.0"
36+
}
2937
}

4-projects/business_unit_1/non-production/versions.tf

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)