Skip to content

Resource: awsDevicefarmTestGridProject

Provides a resource to manage AWS Device Farm Test Grid Projects.

\~> NOTE: AWS currently has limited regional support for Device Farm (e.g., usWest2). See AWS Device Farm endpoints and quotas for information on supported regions.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.devicefarmTestGridProject.DevicefarmTestGridProject(this, "example", {
  name: "example",
  vpcConfig: {
    securityGroupIds: "${aws_security_group.example[*].id}",
    subnetIds: "${aws_subnet.example[*].id}",
    vpcId: "${aws_vpc.example.id}",
  },
});

Argument Reference

  • name - (Required) The name of the Selenium testing project.
  • description - (Optional) Human-readable description of the project.
  • vpcConfig - (Required) The VPC security groups and subnets that are attached to a project. See VPC Config below.
  • tags - (Optional) A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

VPC Config

  • securityGroupIds - (Required) A list of VPC security group IDs in your Amazon VPC.
  • subnetIds - (Required) A list of VPC subnet IDs in your Amazon VPC.
  • vpcId - (Required) The ID of the Amazon VPC.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • arn - The Amazon Resource Name of this Test Grid Project.
  • tagsAll - A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

Import

DeviceFarm Test Grid Projects can be imported by their arn:

$ terraform import aws_devicefarm_test_grid_project.example arn:aws:devicefarm:us-west-2:123456789012:testgrid-project:4fa784c7-ccb4-4dbf-ba4f-02198320daa1