mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 21:00:06 +01:00
feat: sdk migration in progress
This commit is contained in:
12
terraform/modules/ssh-key/outputs.tf
Normal file
12
terraform/modules/ssh-key/outputs.tf
Normal file
@@ -0,0 +1,12 @@
|
||||
output "id" { value = autoglue_ssh_key.this.id }
|
||||
output "public_key" { value = autoglue_ssh_key.this.public_key }
|
||||
output "fingerprint" { value = autoglue_ssh_key.this.fingerprint }
|
||||
output "created_at" { value = autoglue_ssh_key.this.created_at }
|
||||
|
||||
output "written_files" {
|
||||
value = compact(concat(
|
||||
var.enable_download && var.download_part == "public" ? [local_file.public_key[0].filename] : [],
|
||||
var.enable_download && var.download_part == "private" ? [local_sensitive_file.private_key[0].filename] : [],
|
||||
var.enable_download && var.download_part == "both" ? [local_sensitive_file.zip[0].filename] : []
|
||||
))
|
||||
}
|
||||
Reference in New Issue
Block a user