Skip to content

Commit

Permalink
Promote Server Tls Policy to V1 (#11538) (#780)
Browse files Browse the repository at this point in the history
[upstream:1ac1d70d002941296d3d2138cc9b62c7ccaf016d]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Aug 29, 2024
1 parent 16c3b8c commit 4ed2e5a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion network_security_server_tls_policy_advanced/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
resource "google_network_security_server_tls_policy" "default" {
provider = google-beta
name = "my-server-tls-policy-${local.name_suffix}"
labels = {
foo = "bar"
Expand Down
11 changes: 0 additions & 11 deletions network_security_server_tls_policy_basic/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
resource "google_network_security_server_tls_policy" "default" {
provider = google-beta
name = "my-server-tls-policy-${local.name_suffix}"
labels = {
foo = "bar"
Expand All @@ -17,15 +16,5 @@ resource "google_network_security_server_tls_policy" "default" {
target_uri = "unix:mypath"
}
}
client_validation_ca {
grpc_endpoint {
target_uri = "unix:abc/mypath"
}
}
client_validation_ca {
certificate_provider_instance {
plugin_instance = "google_cloud_private_spiffe"
}
}
}
}
3 changes: 0 additions & 3 deletions network_security_server_tls_policy_mtls/main.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
data "google_project" "project" {
provider = google-beta
}

resource "google_network_security_server_tls_policy" "default" {
provider = google-beta
name = "my-server-tls-policy-${local.name_suffix}"

description = "my description"
Expand All @@ -21,7 +19,6 @@ resource "google_network_security_server_tls_policy" "default" {
}

resource "google_certificate_manager_trust_config" "default" {
provider = google-beta
name = "my-trust-config-${local.name_suffix}"
description = "sample trust config description"
location = "global"
Expand Down
1 change: 0 additions & 1 deletion network_security_server_tls_policy_server_cert/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
resource "google_network_security_server_tls_policy" "default" {
provider = google-beta
name = "my-server-tls-policy-${local.name_suffix}"
labels = {
foo = "bar"
Expand Down

0 comments on commit 4ed2e5a

Please sign in to comment.