Resource: aws_devicefarm_device_pool

Provides a resource to manage AWS Device Farm Device Pools.

Example Usage

resource "aws_devicefarm_device_pool" "example" {
  name        = "example"
  project_arn = aws_devicefarm_project.example.arn
  rule {
    attribute = "OS_VERSION"
    operator  = "EQUALS"
    value     = "\"AVAILABLE\""
  }
}

Argument Reference

Rule

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import DeviceFarm Device Pools using their ARN. For example:

import {
  to = aws_devicefarm_device_pool.example
  id = "arn:aws:devicefarm:us-west-2:123456789012:devicepool:4fa784c7-ccb4-4dbf-ba4f-02198320daa1/4fa784c7-ccb4-4dbf-ba4f-02198320daa1"
}

Using terraform import, import DeviceFarm Device Pools using their ARN. For example:

% terraform import aws_devicefarm_device_pool.example arn:aws:devicefarm:us-west-2:123456789012:devicepool:4fa784c7-ccb4-4dbf-ba4f-02198320daa1/4fa784c7-ccb4-4dbf-ba4f-02198320daa1