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
Copy file name to clipboardExpand all lines: examples/demo_workspace/.header.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Follow the steps below to attach the run task created from the module into a new
14
14
15
15
* Change the org name in with your own Terraform Cloud org name.
16
16
17
-
```
17
+
```hcl
18
18
terraform {
19
19
20
20
cloud {
@@ -29,6 +29,7 @@ Follow the steps below to attach the run task created from the module into a new
29
29
```
30
30
31
31
* Populate the required variables, change the placeholder value below.
32
+
32
33
```bash
33
34
echo'tfc_org="<enter your org name here>"'>> tf.auto.tfvars
34
35
echo'aws_region="<enter the AWS region here>"'>> tf.auto.tfvars
@@ -37,6 +38,7 @@ Follow the steps below to attach the run task created from the module into a new
37
38
```
38
39
39
40
* Initialize Terraform Cloud. When prompted, enter the name of the new demo workspace as you specified in the previous step.
41
+
40
42
```bash
41
43
terraform init
42
44
```
@@ -46,29 +48,31 @@ Follow the steps below to attach the run task created from the module into a new
46
48
* In order to create and configure the run tasks, you also need to have Terraform Cloud token stored as Variable/Variable Sets in the workspace. Add `TFE_HOSTNAME` and `TFE_TOKEN` environment variable to the same variable set or directly on the workspace.
Copy file name to clipboardExpand all lines: examples/module_workspace/.header.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
First step is to deploy the module into dedicated Terraform Cloud workspace. The output `runtask_id` is used on other Terraform Cloud workspace to configure the runtask.
4
4
5
5
* Build and package the Lambda files using the makefile. Run this command from the root directory of this repository.
6
+
6
7
```bash
7
8
make all
8
9
```
@@ -15,7 +16,7 @@ First step is to deploy the module into dedicated Terraform Cloud workspace. The
15
16
16
17
* Change the org name to your TFC org.
17
18
18
-
```
19
+
```hcl
19
20
terraform {
20
21
21
22
cloud {
@@ -30,6 +31,7 @@ First step is to deploy the module into dedicated Terraform Cloud workspace. The
30
31
```
31
32
32
33
* Initialize Terraform Cloud. When prompted, enter a new workspace name, i.e. `aws-ia2-infra`
34
+
33
35
```bash
34
36
terraform init
35
37
```
@@ -40,9 +42,10 @@ First step is to deploy the module into dedicated Terraform Cloud workspace. The
40
42
41
43
* In order to create and configure the run tasks, you also need to have Terraform Cloud token stored as Environment Variables. Add `TFE_HOSTNAME` and `TFE_TOKEN` environment variable.
42
44
43
-
* Run Terraform apply
45
+
* Run Terraform apply
46
+
44
47
```bash
45
48
terraform apply
46
49
```
47
50
48
-
* Use the output value `runtask_id` when deploying the demo workspace. See example of [demo workspace here](../demo_workspace/README.md)
51
+
* Use the output value `runtask_id` when deploying the demo workspace. See example of [demo workspace here](../demo_workspace/README.md)
0 commit comments