Skip to content

Latest commit

 

History

History
109 lines (82 loc) · 1.8 KB

aws_api_gateway_api_key.md

File metadata and controls

109 lines (82 loc) · 1.8 KB

aws_api_gateway_api_key

back

Index

Terraform

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

top

Example Usage

module "aws_api_gateway_api_key" {
  source = "./modules/aws/d/aws_api_gateway_api_key"

  # tags - (optional) is a type of map of string
  tags = {}
}

top

Variables

variable "tags" {
  description = "(optional)"
  type        = map(string)
  default     = null
}

top

Datasource

data "aws_api_gateway_api_key" "this" {
  # tags - (optional) is a type of map of string
  tags = var.tags
}

top

Outputs

output "created_date" {
  description = "returns a string"
  value       = data.aws_api_gateway_api_key.this.created_date
}

output "description" {
  description = "returns a string"
  value       = data.aws_api_gateway_api_key.this.description
}

output "enabled" {
  description = "returns a bool"
  value       = data.aws_api_gateway_api_key.this.enabled
}

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

output "last_updated_date" {
  description = "returns a string"
  value       = data.aws_api_gateway_api_key.this.last_updated_date
}

output "name" {
  description = "returns a string"
  value       = data.aws_api_gateway_api_key.this.name
}

output "tags" {
  description = "returns a map of string"
  value       = data.aws_api_gateway_api_key.this.tags
}

output "value" {
  description = "returns a string"
  value       = data.aws_api_gateway_api_key.this.value
  sensitive   = true
}

output "this" {
  value = aws_api_gateway_api_key.this
}

top