mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-10-06 10:41:07 +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" {
|
resource "random_id" "certificate" {
|
||||||
byte_length = 4
|
byte_length = 4
|
||||||
prefix = "my-certificate-"
|
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" {
|
resource "google_compute_ssl_certificate" "default" {
|
||||||
|
Loading…
Reference in New Issue
Block a user