Skip to content

Latest commit

 

History

History
190 lines (155 loc) · 3.72 KB

aws_imagebuilder_component.md

File metadata and controls

190 lines (155 loc) · 3.72 KB

aws_imagebuilder_component

back

Index

Terraform

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

top

Example Usage

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

  # change_description - (optional) is a type of string
  change_description = null
  # data - (optional) is a type of string
  data = null
  # description - (optional) is a type of string
  description = null
  # kms_key_id - (optional) is a type of string
  kms_key_id = null
  # name - (required) is a type of string
  name = null
  # platform - (required) is a type of string
  platform = null
  # supported_os_versions - (optional) is a type of set of string
  supported_os_versions = []
  # tags - (optional) is a type of map of string
  tags = {}
  # uri - (optional) is a type of string
  uri = null
  # version - (required) is a type of string
  version = null
}

top

Variables

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

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

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

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

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

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

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

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

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

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

top

Resource

resource "aws_imagebuilder_component" "this" {
  # change_description - (optional) is a type of string
  change_description = var.change_description
  # data - (optional) is a type of string
  data = var.data
  # description - (optional) is a type of string
  description = var.description
  # kms_key_id - (optional) is a type of string
  kms_key_id = var.kms_key_id
  # name - (required) is a type of string
  name = var.name
  # platform - (required) is a type of string
  platform = var.platform
  # supported_os_versions - (optional) is a type of set of string
  supported_os_versions = var.supported_os_versions
  # tags - (optional) is a type of map of string
  tags = var.tags
  # uri - (optional) is a type of string
  uri = var.uri
  # version - (required) is a type of string
  version = var.version
}

top

Outputs

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

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

output "date_created" {
  description = "returns a string"
  value       = aws_imagebuilder_component.this.date_created
}

output "encrypted" {
  description = "returns a bool"
  value       = aws_imagebuilder_component.this.encrypted
}

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

output "owner" {
  description = "returns a string"
  value       = aws_imagebuilder_component.this.owner
}

output "type" {
  description = "returns a string"
  value       = aws_imagebuilder_component.this.type
}

output "this" {
  value = aws_imagebuilder_component.this
}

top