back
terraform {
required_providers {
aws = ">= 3.35.0"
}
}
top
module "aws_transfer_ssh_key" {
source = "./modules/aws/r/aws_transfer_ssh_key"
# body - (required) is a type of string
body = null
# server_id - (required) is a type of string
server_id = null
# user_name - (required) is a type of string
user_name = null
}
top
variable "body" {
description = "(required)"
type = string
}
variable "server_id" {
description = "(required)"
type = string
}
variable "user_name" {
description = "(required)"
type = string
}
top
resource "aws_transfer_ssh_key" "this" {
# body - (required) is a type of string
body = var.body
# server_id - (required) is a type of string
server_id = var.server_id
# user_name - (required) is a type of string
user_name = var.user_name
}
top
output "id" {
description = "returns a string"
value = aws_transfer_ssh_key.this.id
}
output "this" {
value = aws_transfer_ssh_key.this
}
top