You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Create an account with your preferred cloud compute provider and expose its [authentication credentials via environment variables](https://registry.terraform.io/providers/iterative/iterative/latest/docs#authentication)
21
-
22
15
The Iterative Provider can provision resources with the following cloud providers and orchestrators:
23
16
24
17
- Amazon Web Services
25
18
- Microsoft Azure
26
19
- Google Cloud Platform
27
20
- Kubernetes
28
21
29
-
## Example usage
30
-
31
-
```
32
-
terraform {
33
-
required_providers {
34
-
iterative = {
35
-
source = "iterative/iterative"
36
-
}
37
-
}
38
-
}
39
-
40
-
provider "iterative" {}
41
-
42
-
resource "iterative_task" "example" {
43
-
name = "example"
44
-
cloud = "aws"
45
-
machine = "m+v100"
46
-
47
-
script = <<-END
48
-
#!/bin/bash
49
-
echo "hello!"
50
-
END
51
-
}
52
-
```
53
-
54
22
## Documentation
55
23
56
-
More details on configuring and using the Iterative Provider are in the [documentation](https://registry.terraform.io/providers/iterative/iterative/latest/docs).
24
+
See the [Getting Started](https://registry.terraform.io/providers/iterative/iterative/latest/docs/guides/getting-started) guide to learn how to use the Iterative Provider. More details on configuring and using the Iterative Provider are in the [documentation](https://registry.terraform.io/providers/iterative/iterative/latest/docs).
Copy file name to clipboardExpand all lines: docs/guides/getting-started.md
+10-7Lines changed: 10 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,10 @@ page_title: Getting Started
4
4
5
5
# Getting Started
6
6
7
-
Begin by [installing Terraform 1.0 or greater](https://learn.hashicorp.com/tutorials/terraform/install-cli#install-terraform) if needed.
7
+
To use the Iterative Provider you will need to:
8
+
9
+
-[Install Terraform 1.0](https://learn.hashicorp.com/tutorials/terraform/install-cli#install-terraform) or greater
10
+
- Create an account with your preferred cloud compute provider and expose its [authentication credentials via environment variables](https://registry.terraform.io/providers/iterative/iterative/latest/docs#authentication)
See [the reference](https://registry.terraform.io/providers/iterative/iterative/latest/docs/resources/task) for a full list of options -- including more information on [`machine` types](https://registry.terraform.io/providers/iterative/iterative/latest/docs/resources/task#machine-type).
40
+
34
41
-> **Note:** The `script` argument can take any string, including a [heredoc](https://www.terraform.io/docs/language/expressions/strings.html#heredoc-strings) or the contents of a file returned by the [`file`](https://www.terraform.io/docs/language/functions/file.html) function.
0 commit comments