forked from GoogleCloudPlatform/magic-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rewrite - fix GA diffs + small refresh (GoogleCloudPlatform#11642)
- Loading branch information
Showing
29 changed files
with
307 additions
and
111 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
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
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
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
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
18 changes: 18 additions & 0 deletions
18
mmv1/templates/terraform/examples/go/iam_workload_identity_pool_provider_x509_basic.tf.tmpl
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,18 @@ | ||
resource "google_iam_workload_identity_pool" "pool" { | ||
workload_identity_pool_id = "{{index $.Vars "workload_identity_pool_id"}}" | ||
} | ||
|
||
resource "google_iam_workload_identity_pool_provider" "{{$.PrimaryResourceId}}" { | ||
workload_identity_pool_id = google_iam_workload_identity_pool.pool.workload_identity_pool_id | ||
workload_identity_pool_provider_id = "{{index $.Vars "workload_identity_pool_provider_id"}}" | ||
attribute_mapping = { | ||
"google.subject" = "assertion.subject.dn.cn" | ||
} | ||
x509 { | ||
trust_store { | ||
trust_anchors { | ||
pem_certificate = file("test-fixtures/trust_anchor.pem") | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
mmv1/templates/terraform/examples/go/iam_workload_identity_pool_provider_x509_full.tf.tmpl
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,24 @@ | ||
resource "google_iam_workload_identity_pool" "pool" { | ||
workload_identity_pool_id = "{{index $.Vars "workload_identity_pool_id"}}" | ||
} | ||
|
||
resource "google_iam_workload_identity_pool_provider" "{{$.PrimaryResourceId}}" { | ||
workload_identity_pool_id = google_iam_workload_identity_pool.pool.workload_identity_pool_id | ||
workload_identity_pool_provider_id = "{{index $.Vars "workload_identity_pool_provider_id"}}" | ||
display_name = "Name of provider" | ||
description = "X.509 identity pool provider for automated test" | ||
disabled = true | ||
attribute_mapping = { | ||
"google.subject" = "assertion.subject.dn.cn" | ||
} | ||
x509 { | ||
trust_store { | ||
trust_anchors { | ||
pem_certificate = file("test-fixtures/trust_anchor.pem") | ||
} | ||
intermediate_cas { | ||
pem_certificate = file("test-fixtures/intermediate_ca.pem") | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.