mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-04 17:51:11 +00:00
fix random keepers
This commit is contained in:
parent
ef10e32120
commit
0df88d300e
@ -33,6 +33,12 @@ resource "google_compute_ssl_certificate" "default" {
|
||||
resource "random_id" "certificate" {
|
||||
byte_length = 4
|
||||
prefix = "my-certificate-"
|
||||
|
||||
# For security, do not expose raw certificate values in the output
|
||||
keepers {
|
||||
private_key = "${base64sha256(file("path/to/private.key"))}"
|
||||
certificate = "${base64sha256(file("path/to/certificate.crt"))}"
|
||||
}
|
||||
}
|
||||
|
||||
resource "google_compute_ssl_certificate" "default" {
|
||||
|
Loading…
Reference in New Issue
Block a user