Skip to content

Latest commit

 

History

History
112 lines (87 loc) · 1.95 KB

aws_ssm_patch_baseline.md

File metadata and controls

112 lines (87 loc) · 1.95 KB

aws_ssm_patch_baseline

back

Index

Terraform

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

top

Example Usage

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

  # default_baseline - (optional) is a type of bool
  default_baseline = null
  # name_prefix - (optional) is a type of string
  name_prefix = null
  # operating_system - (optional) is a type of string
  operating_system = null
  # owner - (required) is a type of string
  owner = null
}

top

Variables

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

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

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

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

top

Datasource

data "aws_ssm_patch_baseline" "this" {
  # default_baseline - (optional) is a type of bool
  default_baseline = var.default_baseline
  # name_prefix - (optional) is a type of string
  name_prefix = var.name_prefix
  # operating_system - (optional) is a type of string
  operating_system = var.operating_system
  # owner - (required) is a type of string
  owner = var.owner
}

top

Outputs

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

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

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

output "this" {
  value = aws_ssm_patch_baseline.this
}

top