Data Source: aws_ssm_instances

Use this data source to get the instance IDs of SSM managed instances.

Example Usage

data "aws_ssm_instances" "example" {
  filter {
    name   = "PlatformTypes"
    values = ["Linux"]
  }
}

Argument Reference

filter Configuration Block

The filter configuration block supports the following arguments:

Attribute Reference

This data source exports the following attributes in addition to the arguments above: