Skip to content

Latest commit

 

History

History
90 lines (68 loc) · 1.34 KB

aws_transfer_ssh_key.md

File metadata and controls

90 lines (68 loc) · 1.34 KB

aws_transfer_ssh_key

back

Index

Terraform

terraform {
  required_providers {
    aws = ">= 3.35.0"
  }
}

top

Example Usage

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

Variables

variable "body" {
  description = "(required)"
  type        = string
}

variable "server_id" {
  description = "(required)"
  type        = string
}

variable "user_name" {
  description = "(required)"
  type        = string
}

top

Resource

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

Outputs

output "id" {
  description = "returns a string"
  value       = aws_transfer_ssh_key.this.id
}

output "this" {
  value = aws_transfer_ssh_key.this
}

top