Skip to content

Latest commit

 

History

History
102 lines (78 loc) · 1.67 KB

aws_media_package_channel.md

File metadata and controls

102 lines (78 loc) · 1.67 KB

aws_media_package_channel

back

Index

Terraform

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

top

Example Usage

module "aws_media_package_channel" {
  source = "./modules/aws/r/aws_media_package_channel"

  # channel_id - (required) is a type of string
  channel_id = null
  # description - (optional) is a type of string
  description = null
  # tags - (optional) is a type of map of string
  tags = {}
}

top

Variables

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

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

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

top

Resource

resource "aws_media_package_channel" "this" {
  # channel_id - (required) is a type of string
  channel_id = var.channel_id
  # description - (optional) is a type of string
  description = var.description
  # tags - (optional) is a type of map of string
  tags = var.tags
}

top

Outputs

output "arn" {
  description = "returns a string"
  value       = aws_media_package_channel.this.arn
}

output "hls_ingest" {
  description = "returns a list of object"
  value       = aws_media_package_channel.this.hls_ingest
}

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

output "this" {
  value = aws_media_package_channel.this
}

top