Boilerplates
This commit is contained in:
parent
9aadab4431
commit
89f045d3db
|
@ -1,3 +1,5 @@
|
|||
# skip boilerplate check
|
||||
|
||||
region: europe-west3
|
||||
ip_cidr_range: 10.0.0.0/24
|
||||
description: Sample Subnet in project project-dev-a, vpc-alpha
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# skip boilerplate check
|
||||
|
||||
region: europe-west3
|
||||
ip_cidr_range: 10.0.1.0/24
|
||||
description: Sample Subnet in project project-dev-a, vpc-alpha
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# skip boilerplate check
|
||||
|
||||
region: europe-west4
|
||||
ip_cidr_range: 10.0.2.0/24
|
||||
description: Sample Subnet in project project-dev-b, vpc-beta
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# skip boilerplate check
|
||||
|
||||
region: europe-west4
|
||||
ip_cidr_range: 10.0.3.0/24
|
||||
description: Sample Subnet in project project-dev-b, vpc-gamma
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# skip boilerplate check
|
||||
|
||||
region: europe-west3
|
||||
ip_cidr_range: 10.0.0.0/24
|
||||
description: Sample Subnet in project project-prod-a, vpc-alpha
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# skip boilerplate check
|
||||
|
||||
region: europe-west3
|
||||
ip_cidr_range: 10.0.1.0/24
|
||||
description: Sample Subnet in project project-prod-a, vpc-alpha
|
||||
|
|
|
@ -1,3 +1,19 @@
|
|||
/**
|
||||
* Copyright 2021 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
variable "config_folder" {
|
||||
description = "Relative path of the folder containing the hierarchical firewall configuration"
|
||||
type = string
|
||||
|
|
|
@ -1,3 +1,19 @@
|
|||
/**
|
||||
* Copyright 2021 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
output "vpc-firewall-rules" {
|
||||
description = "Generated VPC Firewall Rules"
|
||||
value = merge(google_compute_firewall.rules-allow, google_compute_firewall.rules-deny)
|
||||
|
|
|
@ -1,3 +1,19 @@
|
|||
/**
|
||||
* Copyright 2021 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
variable "config_folder" {
|
||||
description = "Relative path of the folder containing the hierarchical firewall configuration"
|
||||
type = string
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# skip boilerplate check
|
||||
|
||||
allow-ssh-from-onprem:
|
||||
description: Enable SSH for onprem ranges
|
||||
direction: INGRESS
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# skip boilerplate check
|
||||
|
||||
allow-icmp:
|
||||
description: Enable ICMP for all hosts
|
||||
direction: INGRESS
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# skip boilerplate check
|
||||
|
||||
example:
|
||||
- 10.0.0.0/24
|
||||
- 10.0.10.0/24
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
# skip boilerplate check
|
||||
|
||||
example:
|
||||
- example-service-account@resource-factory-playground.iam.gserviceaccount.com
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# skip boilerplate check
|
||||
|
||||
region: europe-west1
|
||||
ip_cidr_range: 10.0.0.0/24
|
||||
description: Sample Subnet in project project-a, vpc-a
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# skip boilerplate check
|
||||
|
||||
region: europe-west3
|
||||
ip_cidr_range: 10.0.1.0/24
|
||||
description: Sample Subnet in project project-a, vpc-a
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# skip boilerplate check
|
||||
|
||||
region: europe-west4
|
||||
ip_cidr_range: 10.0.2.0/24
|
||||
description: Sample Subnet in project project-a, vpc-b
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# skip boilerplate check
|
||||
|
||||
region: europe-west4
|
||||
ip_cidr_range: 172.16.0.0/24
|
||||
description: Sample Subnet in project project-b, vpc-x
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# skip boilerplate check
|
||||
|
||||
allow-healthchecks:
|
||||
description: "Allow traffic from healthcheck"
|
||||
direction: INGRESS
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# skip boilerplate check
|
||||
|
||||
example:
|
||||
- 10.0.0.0/24
|
||||
- 10.0.10.0/24
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
# skip boilerplate check
|
||||
|
||||
couchbase:
|
||||
- example-service-account@resource-factory-playground.iam.gserviceaccount.com
|
||||
|
|
Loading…
Reference in New Issue