-
Notifications
You must be signed in to change notification settings - Fork 910
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GCVE: add network policy configuration
- Loading branch information
Luca Prete
committed
Dec 22, 2023
1 parent
df5c02a
commit 958b6ef
Showing
4 changed files
with
109 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
tests/modules/gcve_private_cloud/examples/network-policy.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Copyright 2023 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. | ||
|
||
values: | ||
module.gcve-pc.google_vmwareengine_network.private_cloud_network[0]: | ||
description: Terraform-managed. | ||
location: global | ||
name: gcve-pc-default | ||
project: gcve-test-project | ||
type: STANDARD | ||
module.gcve-pc.google_vmwareengine_network_policy.vmw-engine-network-policy["ew8"]: | ||
description: Terraform-managed. | ||
edge_services_cidr: 192.168.100.0/26 | ||
external_ip: | ||
- enabled: true | ||
internet_access: | ||
- enabled: true | ||
location: europe-west8 | ||
name: gcve-pc-ew8 | ||
project: gcve-test-project | ||
module.gcve-pc.google_vmwareengine_private_cloud.vmw_engine_private_clouds["pcc_one"]: | ||
description: Managed by Terraform. | ||
location: europe-west8-a | ||
management_cluster: | ||
- cluster_id: gcve-pc-pcc_one-mgmt-cluster | ||
node_type_configs: | ||
- custom_core_count: 0 | ||
node_count: 3 | ||
node_type_id: standard-72 | ||
name: gcve-pc-pcc_one | ||
network_config: | ||
- management_cidr: 192.168.0.0/24 | ||
project: gcve-test-project | ||
type: STANDARD | ||
|
||
counts: | ||
google_vmwareengine_network: 1 | ||
google_vmwareengine_network_policy: 1 | ||
google_vmwareengine_private_cloud: 1 | ||
modules: 1 | ||
resources: 3 |