* sshrimp-agent and sshrimp-ca building and deploying. * mage build system working. * successful deploy and SSH to host. * need to tidy up and add tests.
12 lines
315 B
HCL
12 lines
315 B
HCL
|
|
resource "aws_lambda_function" "sshrimp_ca" {
|
|
function_name = var.lambda_name
|
|
filename = "sshrimp-ca.zip"
|
|
role = aws_iam_role.sshrimp_ca.arn
|
|
timeout = 120
|
|
memory_size = 512
|
|
description = "SSHrimp Certificate Authority"
|
|
handler = "sshrimp-ca"
|
|
runtime = "go1.x"
|
|
}
|