diff --git a/github_deploy_keys.tf b/github_deploy_keys.tf index a8fed24..947e1b7 100644 --- a/github_deploy_keys.tf +++ b/github_deploy_keys.tf @@ -4,7 +4,7 @@ resource "tls_private_key" "deploy_key" { for k, v in var.deploy_keys : k => v if v.create == true } - + algorithm = "RSA" rsa_bits = 4096 } diff --git a/variables.tf b/variables.tf index 47e5469..d2edf91 100644 --- a/variables.tf +++ b/variables.tf @@ -412,13 +412,13 @@ variable "github_pro_enabled" { variable "deploy_keys" { description = "List of SSH deploy keys to add to the repository" type = list(object({ - title = string - key = optional(string, "") + title = string + key = optional(string, "") # The key is optional because it can be generated # by the module itself if create is set to true # and the key is not provided read_only = optional(bool, true) - create = optional(bool, false) + create = optional(bool, false) })) default = [] }