Skip to content
This repository has been archived by the owner on Dec 9, 2020. It is now read-only.

Files

Latest commit

d783ecd · Jun 28, 2019

History

History
47 lines (36 loc) · 1.14 KB

test.html.markdown

File metadata and controls

47 lines (36 loc) · 1.14 KB
layout page_title sidebar_current description
runscope
Runscope: runscope_test
docs-runscope-resource-test
Provides a Runscope test resource.

runscope_test

A test resource. Tests are made up of a collection of test steps and an environment.

Example Usage

# Add a test to a bucket
resource "runscope_test" "api" {
  name        = "api-test"
  description = "checks the api is up and running"
  bucket_id   = "${runscope_bucket.main}"
}

# Create a bucket
resource "runscope_bucket" "main" {
  name      = "terraform-ftw"
  team_uuid = "870ed937-bc6e-4d8b-a9a5-d7f9f2412fa3"
}

Argument Reference

The following arguments are supported:

  • name - (String, Required) The name of this test.
  • description - (String, Optional) Human-readable description of the new test. is being created for.

Attributes Reference

The following attributes are exported:

  • id - The unique identifier for the test.
  • name - The name of this test.
  • description - Human-readable description of the new test.