From dbce1d71e7b9d8eb2e6aa8d81d8a678dfce0fa42 Mon Sep 17 00:00:00 2001
From: Sarvar Muminov <43311+msarvar@users.noreply.github.com>
Date: Fri, 14 May 2021 10:00:48 -0700
Subject: [PATCH] bump testing-env image (#1582)
* bump testing-env image
* use correct image
* fix e2e tests
* fix more e2e tests
* one more try
* 0.14.10 works
* one more try
* flippign exp
* flipping tihngs around
* fixing parallel e2e tests
---
.circleci/config.yml | 2 +-
server/events_controller_e2e_test.go | 77 +++++++++++--------
.../automerge/exp-output-apply-dir1.txt | 7 --
.../automerge/exp-output-apply-dir2.txt | 7 --
.../automerge/exp-output-autoplan.txt | 8 +-
.../exp-output-apply-production.txt | 10 ---
.../modules-yaml/exp-output-apply-staging.txt | 10 ---
.../modules-yaml/exp-output-autoplan.txt | 8 +-
.../modules/exp-output-apply-production.txt | 10 ---
.../modules/exp-output-apply-staging.txt | 10 ---
.../exp-output-autoplan-only-staging.txt | 4 +-
.../modules/exp-output-plan-production.txt | 4 +-
.../modules/exp-output-plan-staging.txt | 4 +-
.../exp-output-apply.txt | 10 ---
.../exp-output-autoplan.txt | 4 +-
.../exp-output-autoplan.txt | 4 +-
.../exp-output-apply.txt | 10 ---
.../exp-output-auto-policy-check.txt.act | 15 ----
.../exp-output-autoplan.txt | 4 +-
.../exp-output-apply.txt | 10 ---
.../exp-output-autoplan.txt | 8 +-
.../policy-checks/exp-output-apply.txt | 10 ---
.../policy-checks/exp-output-autoplan.txt | 4 +-
.../exp-output-apply-default-workspace.txt | 10 ---
.../exp-output-apply-staging-workspace.txt | 10 ---
.../server-side-cfg/exp-output-autoplan.txt | 8 +-
.../simple-yaml/exp-output-apply-all.txt | 17 ----
.../simple-yaml/exp-output-apply-default.txt | 10 ---
.../simple-yaml/exp-output-apply-staging.txt | 7 --
.../simple-yaml/exp-output-autoplan.txt | 8 +-
.../simple/exp-output-apply-var-all.txt | 14 ----
...exp-output-apply-var-default-workspace.txt | 7 --
.../exp-output-apply-var-new-workspace.txt | 7 --
.../simple/exp-output-apply-var.txt | 7 --
.../test-repos/simple/exp-output-apply.txt | 7 --
...exp-output-atlantis-plan-new-workspace.txt | 4 +-
...xp-output-atlantis-plan-var-overridden.txt | 4 +-
.../simple/exp-output-atlantis-plan.txt | 4 +-
.../test-repos/simple/exp-output-autoplan.txt | 4 +-
.../exp-output-apply-default.txt | 10 ---
.../exp-output-apply-staging.txt | 10 ---
.../exp-output-plan-default.txt | 4 +-
.../exp-output-plan-staging.txt | 4 +-
.../tfvars-yaml/exp-output-apply-default.txt | 10 ---
.../tfvars-yaml/exp-output-apply-staging.txt | 10 ---
.../tfvars-yaml/exp-output-autoplan.txt | 8 +-
.../exp-output-apply-all-production.txt | 27 +++++--
.../exp-output-apply-all-staging.txt | 27 +++++--
.../exp-output-autoplan-production.txt | 49 +++++++++++-
.../exp-output-autoplan-staging.txt | 49 +++++++++++-
50 files changed, 232 insertions(+), 344 deletions(-)
delete mode 100644 server/testfixtures/test-repos/policy-checks-extra-args/exp-output-auto-policy-check.txt.act
diff --git a/.circleci/config.yml b/.circleci/config.yml
index d6c924033..ded274e9d 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -2,7 +2,7 @@ version: 2
jobs:
test:
docker:
- - image: runatlantis/testing-env:20296f9638a4eca04733f60b39e1d3025b9d708a
+ - image: runatlantis/testing-env:805e94e7f648eddb0484e539a7b51410d39529bc
steps:
- checkout
- run: make test-all
diff --git a/server/events_controller_e2e_test.go b/server/events_controller_e2e_test.go
index 3b1780baa..197b8e7fe 100644
--- a/server/events_controller_e2e_test.go
+++ b/server/events_controller_e2e_test.go
@@ -1037,44 +1037,61 @@ func assertCommentEquals(t *testing.T, expReplies []string, act string, repoDir
resourceRegex := regexp.MustCompile(`null_resource\.simple(\[\d])?\d?:.*`)
act = resourceRegex.ReplaceAllString(act, "null_resource.simple:")
- // For parallel plans and applies, do a substring match since output may be out of order
- var replyMatchesExpected func(string, string) bool
+ // For parallel plans and applies, we go through all expected replies and
+ // look for any 1 match. They can be out of order
if parallel {
- replyMatchesExpected = func(act string, expStr string) bool {
- return strings.Contains(act, expStr)
- }
- } else {
- replyMatchesExpected = func(act string, expStr string) bool {
- return expStr == act
- }
- }
-
- for _, expFile := range expReplies {
- exp, err := ioutil.ReadFile(filepath.Join(absRepoPath(t, repoDir), expFile))
- Ok(t, err)
- expStr := string(exp)
- // My editor adds a newline to all the files, so if the actual comment
- // doesn't end with a newline then strip the last newline from the file's
- // contents.
- if !strings.HasSuffix(act, "\n") {
- expStr = strings.TrimSuffix(expStr, "\n")
+ anyMatch := false
+ for _, expFile := range expReplies {
+ exp, err := ioutil.ReadFile(filepath.Join(absRepoPath(t, repoDir), expFile))
+ Ok(t, err)
+ expStr := string(exp)
+ // My editor adds a newline to all the files, so if the actual comment
+ // doesn't end with a newline then strip the last newline from the file's
+ // contents.
+ if !strings.HasSuffix(act, "\n") {
+ expStr = strings.TrimSuffix(expStr, "\n")
+ }
+ anyMatch = expStr == act
}
- if !replyMatchesExpected(act, expStr) {
+ if !anyMatch {
// If in CI, we write the diff to the console. Otherwise we write the diff
// to file so we can use our local diff viewer.
if os.Getenv("CI") == "true" {
- t.Logf("exp: %s, got: %s", expStr, act)
+ t.Logf("got: %s, \nnone of the expected fixtures matches", act)
t.FailNow()
} else {
- actFile := filepath.Join(absRepoPath(t, repoDir), expFile+".act")
- err := ioutil.WriteFile(actFile, []byte(act), 0600)
- Ok(t, err)
- cwd, err := os.Getwd()
- Ok(t, err)
- rel, err := filepath.Rel(cwd, actFile)
- Ok(t, err)
- t.Errorf("%q was different, wrote actual comment to %q", expFile, rel)
+ t.Errorf("got: %s, \nnone of the expected fixtures matches", act)
+ }
+ }
+ } else {
+ for _, expFile := range expReplies {
+ exp, err := ioutil.ReadFile(filepath.Join(absRepoPath(t, repoDir), expFile))
+ Ok(t, err)
+ expStr := string(exp)
+ // My editor adds a newline to all the files, so if the actual comment
+ // doesn't end with a newline then strip the last newline from the file's
+ // contents.
+ if !strings.HasSuffix(act, "\n") {
+ expStr = strings.TrimSuffix(expStr, "\n")
+ }
+
+ if expStr != act {
+ // If in CI, we write the diff to the console. Otherwise we write the diff
+ // to file so we can use our local diff viewer.
+ if os.Getenv("CI") == "true" {
+ t.Logf("exp: %s, got: %s", expStr, act)
+ t.FailNow()
+ } else {
+ actFile := filepath.Join(absRepoPath(t, repoDir), expFile+".act")
+ err := ioutil.WriteFile(actFile, []byte(act), 0600)
+ Ok(t, err)
+ cwd, err := os.Getwd()
+ Ok(t, err)
+ rel, err := filepath.Rel(cwd, actFile)
+ Ok(t, err)
+ t.Errorf("%q was different, wrote actual comment to %q", expFile, rel)
+ }
}
}
}
diff --git a/server/testfixtures/test-repos/automerge/exp-output-apply-dir1.txt b/server/testfixtures/test-repos/automerge/exp-output-apply-dir1.txt
index bae9bd1d0..19bf762f1 100644
--- a/server/testfixtures/test-repos/automerge/exp-output-apply-dir1.txt
+++ b/server/testfixtures/test-repos/automerge/exp-output-apply-dir1.txt
@@ -6,12 +6,5 @@ null_resource.automerge[0]: Creation complete after *s [id=*******************]
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
```
diff --git a/server/testfixtures/test-repos/automerge/exp-output-apply-dir2.txt b/server/testfixtures/test-repos/automerge/exp-output-apply-dir2.txt
index d6039490d..f48696615 100644
--- a/server/testfixtures/test-repos/automerge/exp-output-apply-dir2.txt
+++ b/server/testfixtures/test-repos/automerge/exp-output-apply-dir2.txt
@@ -6,12 +6,5 @@ null_resource.automerge[0]: Creation complete after *s [id=*******************]
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
```
diff --git a/server/testfixtures/test-repos/automerge/exp-output-autoplan.txt b/server/testfixtures/test-repos/automerge/exp-output-autoplan.txt
index 5bf30f999..8aa62370f 100644
--- a/server/testfixtures/test-repos/automerge/exp-output-autoplan.txt
+++ b/server/testfixtures/test-repos/automerge/exp-output-autoplan.txt
@@ -8,8 +8,8 @@ Ran Plan for 2 projects:
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
@@ -37,8 +37,8 @@ Plan: 1 to add, 0 to change, 0 to destroy.
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
diff --git a/server/testfixtures/test-repos/modules-yaml/exp-output-apply-production.txt b/server/testfixtures/test-repos/modules-yaml/exp-output-apply-production.txt
index 6c58d734c..4885579d1 100644
--- a/server/testfixtures/test-repos/modules-yaml/exp-output-apply-production.txt
+++ b/server/testfixtures/test-repos/modules-yaml/exp-output-apply-production.txt
@@ -1,24 +1,14 @@
Ran Apply for dir: `production` workspace: `default`
-Show Output
-
```diff
module.null.null_resource.this: Creating...
module.null.null_resource.this: Creation complete after *s [id=*******************]
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
Outputs:
var = "production"
```
-
diff --git a/server/testfixtures/test-repos/modules-yaml/exp-output-apply-staging.txt b/server/testfixtures/test-repos/modules-yaml/exp-output-apply-staging.txt
index f6423bf83..44d7f3714 100644
--- a/server/testfixtures/test-repos/modules-yaml/exp-output-apply-staging.txt
+++ b/server/testfixtures/test-repos/modules-yaml/exp-output-apply-staging.txt
@@ -1,24 +1,14 @@
Ran Apply for dir: `staging` workspace: `default`
-Show Output
-
```diff
module.null.null_resource.this: Creating...
module.null.null_resource.this: Creation complete after *s [id=*******************]
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
Outputs:
var = "staging"
```
-
diff --git a/server/testfixtures/test-repos/modules-yaml/exp-output-autoplan.txt b/server/testfixtures/test-repos/modules-yaml/exp-output-autoplan.txt
index 8d5ed2345..6b1c2e243 100644
--- a/server/testfixtures/test-repos/modules-yaml/exp-output-autoplan.txt
+++ b/server/testfixtures/test-repos/modules-yaml/exp-output-autoplan.txt
@@ -8,8 +8,8 @@ Ran Plan for 2 projects:
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
@@ -40,8 +40,8 @@ Plan: 1 to add, 0 to change, 0 to destroy.
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
diff --git a/server/testfixtures/test-repos/modules/exp-output-apply-production.txt b/server/testfixtures/test-repos/modules/exp-output-apply-production.txt
index 6c58d734c..4885579d1 100644
--- a/server/testfixtures/test-repos/modules/exp-output-apply-production.txt
+++ b/server/testfixtures/test-repos/modules/exp-output-apply-production.txt
@@ -1,24 +1,14 @@
Ran Apply for dir: `production` workspace: `default`
-Show Output
-
```diff
module.null.null_resource.this: Creating...
module.null.null_resource.this: Creation complete after *s [id=*******************]
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
Outputs:
var = "production"
```
-
diff --git a/server/testfixtures/test-repos/modules/exp-output-apply-staging.txt b/server/testfixtures/test-repos/modules/exp-output-apply-staging.txt
index f6423bf83..44d7f3714 100644
--- a/server/testfixtures/test-repos/modules/exp-output-apply-staging.txt
+++ b/server/testfixtures/test-repos/modules/exp-output-apply-staging.txt
@@ -1,24 +1,14 @@
Ran Apply for dir: `staging` workspace: `default`
-Show Output
-
```diff
module.null.null_resource.this: Creating...
module.null.null_resource.this: Creation complete after *s [id=*******************]
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
Outputs:
var = "staging"
```
-
diff --git a/server/testfixtures/test-repos/modules/exp-output-autoplan-only-staging.txt b/server/testfixtures/test-repos/modules/exp-output-autoplan-only-staging.txt
index 78301fa47..50f8aca13 100644
--- a/server/testfixtures/test-repos/modules/exp-output-autoplan-only-staging.txt
+++ b/server/testfixtures/test-repos/modules/exp-output-autoplan-only-staging.txt
@@ -4,8 +4,8 @@ Ran Plan for dir: `staging` workspace: `default`
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
diff --git a/server/testfixtures/test-repos/modules/exp-output-plan-production.txt b/server/testfixtures/test-repos/modules/exp-output-plan-production.txt
index 6c6193b61..e238d50a4 100644
--- a/server/testfixtures/test-repos/modules/exp-output-plan-production.txt
+++ b/server/testfixtures/test-repos/modules/exp-output-plan-production.txt
@@ -4,8 +4,8 @@ Ran Plan for dir: `production` workspace: `default`
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
diff --git a/server/testfixtures/test-repos/modules/exp-output-plan-staging.txt b/server/testfixtures/test-repos/modules/exp-output-plan-staging.txt
index 78301fa47..50f8aca13 100644
--- a/server/testfixtures/test-repos/modules/exp-output-plan-staging.txt
+++ b/server/testfixtures/test-repos/modules/exp-output-plan-staging.txt
@@ -4,8 +4,8 @@ Ran Plan for dir: `staging` workspace: `default`
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
diff --git a/server/testfixtures/test-repos/policy-checks-apply-reqs/exp-output-apply.txt b/server/testfixtures/test-repos/policy-checks-apply-reqs/exp-output-apply.txt
index e6e44deb9..336a84955 100644
--- a/server/testfixtures/test-repos/policy-checks-apply-reqs/exp-output-apply.txt
+++ b/server/testfixtures/test-repos/policy-checks-apply-reqs/exp-output-apply.txt
@@ -1,24 +1,14 @@
Ran Apply for dir: `.` workspace: `default`
-Show Output
-
```diff
null_resource.simple:
null_resource.simple:
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
Outputs:
workspace = "default"
```
-
diff --git a/server/testfixtures/test-repos/policy-checks-apply-reqs/exp-output-autoplan.txt b/server/testfixtures/test-repos/policy-checks-apply-reqs/exp-output-autoplan.txt
index 3d4f0ce50..fc6a38d20 100644
--- a/server/testfixtures/test-repos/policy-checks-apply-reqs/exp-output-autoplan.txt
+++ b/server/testfixtures/test-repos/policy-checks-apply-reqs/exp-output-autoplan.txt
@@ -4,8 +4,8 @@ Ran Plan for dir: `.` workspace: `default`
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
diff --git a/server/testfixtures/test-repos/policy-checks-diff-owner/exp-output-autoplan.txt b/server/testfixtures/test-repos/policy-checks-diff-owner/exp-output-autoplan.txt
index 3d4f0ce50..fc6a38d20 100644
--- a/server/testfixtures/test-repos/policy-checks-diff-owner/exp-output-autoplan.txt
+++ b/server/testfixtures/test-repos/policy-checks-diff-owner/exp-output-autoplan.txt
@@ -4,8 +4,8 @@ Ran Plan for dir: `.` workspace: `default`
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
diff --git a/server/testfixtures/test-repos/policy-checks-extra-args/exp-output-apply.txt b/server/testfixtures/test-repos/policy-checks-extra-args/exp-output-apply.txt
index e6e44deb9..336a84955 100644
--- a/server/testfixtures/test-repos/policy-checks-extra-args/exp-output-apply.txt
+++ b/server/testfixtures/test-repos/policy-checks-extra-args/exp-output-apply.txt
@@ -1,24 +1,14 @@
Ran Apply for dir: `.` workspace: `default`
-Show Output
-
```diff
null_resource.simple:
null_resource.simple:
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
Outputs:
workspace = "default"
```
-
diff --git a/server/testfixtures/test-repos/policy-checks-extra-args/exp-output-auto-policy-check.txt.act b/server/testfixtures/test-repos/policy-checks-extra-args/exp-output-auto-policy-check.txt.act
deleted file mode 100644
index 20ba22012..000000000
--- a/server/testfixtures/test-repos/policy-checks-extra-args/exp-output-auto-policy-check.txt.act
+++ /dev/null
@@ -1,15 +0,0 @@
-Ran Policy Check for dir: `.` workspace: `default`
-
-**Policy Check Error**
-```
-exit status 1
-Checking plan against the following policies:
- test_policy
-FAIL - - null_resource_policy - WARNING: Null Resource creation is prohibited.
-
-1 test, 0 passed, 0 warnings, 1 failure, 0 exceptions
-
-```
-* :heavy_check_mark: To **approve** failing policies either request an approval from approvers or address the failure by modifying the codebase.
-
-
diff --git a/server/testfixtures/test-repos/policy-checks-extra-args/exp-output-autoplan.txt b/server/testfixtures/test-repos/policy-checks-extra-args/exp-output-autoplan.txt
index 3d4f0ce50..fc6a38d20 100644
--- a/server/testfixtures/test-repos/policy-checks-extra-args/exp-output-autoplan.txt
+++ b/server/testfixtures/test-repos/policy-checks-extra-args/exp-output-autoplan.txt
@@ -4,8 +4,8 @@ Ran Plan for dir: `.` workspace: `default`
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
diff --git a/server/testfixtures/test-repos/policy-checks-multi-projects/exp-output-apply.txt b/server/testfixtures/test-repos/policy-checks-multi-projects/exp-output-apply.txt
index 8c3c81276..8baa22660 100644
--- a/server/testfixtures/test-repos/policy-checks-multi-projects/exp-output-apply.txt
+++ b/server/testfixtures/test-repos/policy-checks-multi-projects/exp-output-apply.txt
@@ -4,27 +4,17 @@ Ran Apply for 2 projects:
1. dir: `dir2` workspace: `default`
### 1. dir: `dir1` workspace: `default`
-Show Output
-
```diff
null_resource.simple:
null_resource.simple:
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
Outputs:
workspace = "default"
```
-
---
### 2. dir: `dir2` workspace: `default`
diff --git a/server/testfixtures/test-repos/policy-checks-multi-projects/exp-output-autoplan.txt b/server/testfixtures/test-repos/policy-checks-multi-projects/exp-output-autoplan.txt
index 0b2fc4713..36118264b 100644
--- a/server/testfixtures/test-repos/policy-checks-multi-projects/exp-output-autoplan.txt
+++ b/server/testfixtures/test-repos/policy-checks-multi-projects/exp-output-autoplan.txt
@@ -8,8 +8,8 @@ Ran Plan for 2 projects:
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
@@ -40,8 +40,8 @@ Plan: 1 to add, 0 to change, 0 to destroy.
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
diff --git a/server/testfixtures/test-repos/policy-checks/exp-output-apply.txt b/server/testfixtures/test-repos/policy-checks/exp-output-apply.txt
index e6e44deb9..336a84955 100644
--- a/server/testfixtures/test-repos/policy-checks/exp-output-apply.txt
+++ b/server/testfixtures/test-repos/policy-checks/exp-output-apply.txt
@@ -1,24 +1,14 @@
Ran Apply for dir: `.` workspace: `default`
-Show Output
-
```diff
null_resource.simple:
null_resource.simple:
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
Outputs:
workspace = "default"
```
-
diff --git a/server/testfixtures/test-repos/policy-checks/exp-output-autoplan.txt b/server/testfixtures/test-repos/policy-checks/exp-output-autoplan.txt
index 3d4f0ce50..fc6a38d20 100644
--- a/server/testfixtures/test-repos/policy-checks/exp-output-autoplan.txt
+++ b/server/testfixtures/test-repos/policy-checks/exp-output-autoplan.txt
@@ -4,8 +4,8 @@ Ran Plan for dir: `.` workspace: `default`
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
diff --git a/server/testfixtures/test-repos/server-side-cfg/exp-output-apply-default-workspace.txt b/server/testfixtures/test-repos/server-side-cfg/exp-output-apply-default-workspace.txt
index e6e44deb9..336a84955 100644
--- a/server/testfixtures/test-repos/server-side-cfg/exp-output-apply-default-workspace.txt
+++ b/server/testfixtures/test-repos/server-side-cfg/exp-output-apply-default-workspace.txt
@@ -1,24 +1,14 @@
Ran Apply for dir: `.` workspace: `default`
-Show Output
-
```diff
null_resource.simple:
null_resource.simple:
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
Outputs:
workspace = "default"
```
-
diff --git a/server/testfixtures/test-repos/server-side-cfg/exp-output-apply-staging-workspace.txt b/server/testfixtures/test-repos/server-side-cfg/exp-output-apply-staging-workspace.txt
index 5907ea623..b36f8209c 100644
--- a/server/testfixtures/test-repos/server-side-cfg/exp-output-apply-staging-workspace.txt
+++ b/server/testfixtures/test-repos/server-side-cfg/exp-output-apply-staging-workspace.txt
@@ -1,24 +1,14 @@
Ran Apply for dir: `.` workspace: `staging`
-Show Output
-
```diff
null_resource.simple:
null_resource.simple:
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
Outputs:
workspace = "staging"
```
-
diff --git a/server/testfixtures/test-repos/server-side-cfg/exp-output-autoplan.txt b/server/testfixtures/test-repos/server-side-cfg/exp-output-autoplan.txt
index fbc21130f..25eddec36 100644
--- a/server/testfixtures/test-repos/server-side-cfg/exp-output-autoplan.txt
+++ b/server/testfixtures/test-repos/server-side-cfg/exp-output-autoplan.txt
@@ -10,8 +10,8 @@ Ran Plan for 2 projects:
preinit custom
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
@@ -46,8 +46,8 @@ Plan: 1 to add, 0 to change, 0 to destroy.
preinit staging
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
diff --git a/server/testfixtures/test-repos/simple-yaml/exp-output-apply-all.txt b/server/testfixtures/test-repos/simple-yaml/exp-output-apply-all.txt
index 8ce7870f1..04b926ff5 100644
--- a/server/testfixtures/test-repos/simple-yaml/exp-output-apply-all.txt
+++ b/server/testfixtures/test-repos/simple-yaml/exp-output-apply-all.txt
@@ -4,28 +4,18 @@ Ran Apply for 2 projects:
1. dir: `.` workspace: `staging`
### 1. dir: `.` workspace: `default`
-Show Output
-
```diff
null_resource.simple:
null_resource.simple:
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
Outputs:
var = "fromconfig"
workspace = "default"
```
-
---
### 2. dir: `.` workspace: `staging`
@@ -39,13 +29,6 @@ null_resource.simple:
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
Outputs:
var = "fromfile"
diff --git a/server/testfixtures/test-repos/simple-yaml/exp-output-apply-default.txt b/server/testfixtures/test-repos/simple-yaml/exp-output-apply-default.txt
index eb8fdb9d5..5e3d22778 100644
--- a/server/testfixtures/test-repos/simple-yaml/exp-output-apply-default.txt
+++ b/server/testfixtures/test-repos/simple-yaml/exp-output-apply-default.txt
@@ -1,25 +1,15 @@
Ran Apply for dir: `.` workspace: `default`
-Show Output
-
```diff
null_resource.simple:
null_resource.simple:
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
Outputs:
var = "fromconfig"
workspace = "default"
```
-
diff --git a/server/testfixtures/test-repos/simple-yaml/exp-output-apply-staging.txt b/server/testfixtures/test-repos/simple-yaml/exp-output-apply-staging.txt
index 88939e273..88f2698f0 100644
--- a/server/testfixtures/test-repos/simple-yaml/exp-output-apply-staging.txt
+++ b/server/testfixtures/test-repos/simple-yaml/exp-output-apply-staging.txt
@@ -10,13 +10,6 @@ null_resource.simple:
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
Outputs:
var = "fromfile"
diff --git a/server/testfixtures/test-repos/simple-yaml/exp-output-autoplan.txt b/server/testfixtures/test-repos/simple-yaml/exp-output-autoplan.txt
index 456b23a3f..5145516ef 100644
--- a/server/testfixtures/test-repos/simple-yaml/exp-output-autoplan.txt
+++ b/server/testfixtures/test-repos/simple-yaml/exp-output-autoplan.txt
@@ -10,8 +10,8 @@ Ran Plan for 2 projects:
preinit
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
@@ -45,8 +45,8 @@ Plan: 1 to add, 0 to change, 0 to destroy.
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
diff --git a/server/testfixtures/test-repos/simple/exp-output-apply-var-all.txt b/server/testfixtures/test-repos/simple/exp-output-apply-var-all.txt
index ac8362b9a..11f65032d 100644
--- a/server/testfixtures/test-repos/simple/exp-output-apply-var-all.txt
+++ b/server/testfixtures/test-repos/simple/exp-output-apply-var-all.txt
@@ -16,13 +16,6 @@ null_resource.simple:
Apply complete! Resources: 3 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
Outputs:
var = "default_workspace"
@@ -45,13 +38,6 @@ null_resource.simple:
Apply complete! Resources: 3 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
Outputs:
var = "new_workspace"
diff --git a/server/testfixtures/test-repos/simple/exp-output-apply-var-default-workspace.txt b/server/testfixtures/test-repos/simple/exp-output-apply-var-default-workspace.txt
index eb508fdec..cfa21dde3 100644
--- a/server/testfixtures/test-repos/simple/exp-output-apply-var-default-workspace.txt
+++ b/server/testfixtures/test-repos/simple/exp-output-apply-var-default-workspace.txt
@@ -12,13 +12,6 @@ null_resource.simple:
Apply complete! Resources: 3 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
Outputs:
var = "default_workspace"
diff --git a/server/testfixtures/test-repos/simple/exp-output-apply-var-new-workspace.txt b/server/testfixtures/test-repos/simple/exp-output-apply-var-new-workspace.txt
index 87f877a9c..8c1a0bac5 100644
--- a/server/testfixtures/test-repos/simple/exp-output-apply-var-new-workspace.txt
+++ b/server/testfixtures/test-repos/simple/exp-output-apply-var-new-workspace.txt
@@ -12,13 +12,6 @@ null_resource.simple:
Apply complete! Resources: 3 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
Outputs:
var = "new_workspace"
diff --git a/server/testfixtures/test-repos/simple/exp-output-apply-var.txt b/server/testfixtures/test-repos/simple/exp-output-apply-var.txt
index 01ebc3a6a..59aff5f18 100644
--- a/server/testfixtures/test-repos/simple/exp-output-apply-var.txt
+++ b/server/testfixtures/test-repos/simple/exp-output-apply-var.txt
@@ -12,13 +12,6 @@ null_resource.simple:
Apply complete! Resources: 3 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
Outputs:
var = "overridden"
diff --git a/server/testfixtures/test-repos/simple/exp-output-apply.txt b/server/testfixtures/test-repos/simple/exp-output-apply.txt
index c0f6d13d2..98ffd366e 100644
--- a/server/testfixtures/test-repos/simple/exp-output-apply.txt
+++ b/server/testfixtures/test-repos/simple/exp-output-apply.txt
@@ -12,13 +12,6 @@ null_resource.simple:
Apply complete! Resources: 3 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: terraform.tfstate
-
Outputs:
var = "default"
diff --git a/server/testfixtures/test-repos/simple/exp-output-atlantis-plan-new-workspace.txt b/server/testfixtures/test-repos/simple/exp-output-atlantis-plan-new-workspace.txt
index ef5440acd..b725eb1bf 100644
--- a/server/testfixtures/test-repos/simple/exp-output-atlantis-plan-new-workspace.txt
+++ b/server/testfixtures/test-repos/simple/exp-output-atlantis-plan-new-workspace.txt
@@ -4,8 +4,8 @@ Ran Plan for dir: `.` workspace: `new_workspace`
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
diff --git a/server/testfixtures/test-repos/simple/exp-output-atlantis-plan-var-overridden.txt b/server/testfixtures/test-repos/simple/exp-output-atlantis-plan-var-overridden.txt
index f7c157b41..bc608ceb1 100644
--- a/server/testfixtures/test-repos/simple/exp-output-atlantis-plan-var-overridden.txt
+++ b/server/testfixtures/test-repos/simple/exp-output-atlantis-plan-var-overridden.txt
@@ -4,8 +4,8 @@ Ran Plan for dir: `.` workspace: `default`
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
diff --git a/server/testfixtures/test-repos/simple/exp-output-atlantis-plan.txt b/server/testfixtures/test-repos/simple/exp-output-atlantis-plan.txt
index cdace0a29..c56cd47e1 100644
--- a/server/testfixtures/test-repos/simple/exp-output-atlantis-plan.txt
+++ b/server/testfixtures/test-repos/simple/exp-output-atlantis-plan.txt
@@ -4,8 +4,8 @@ Ran Plan for dir: `.` workspace: `default`
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
diff --git a/server/testfixtures/test-repos/simple/exp-output-autoplan.txt b/server/testfixtures/test-repos/simple/exp-output-autoplan.txt
index e2f5e0f9a..b301024b0 100644
--- a/server/testfixtures/test-repos/simple/exp-output-autoplan.txt
+++ b/server/testfixtures/test-repos/simple/exp-output-autoplan.txt
@@ -4,8 +4,8 @@ Ran Plan for dir: `.` workspace: `default`
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
diff --git a/server/testfixtures/test-repos/tfvars-yaml-no-autoplan/exp-output-apply-default.txt b/server/testfixtures/test-repos/tfvars-yaml-no-autoplan/exp-output-apply-default.txt
index 0cb3d9286..ccc0bfe01 100644
--- a/server/testfixtures/test-repos/tfvars-yaml-no-autoplan/exp-output-apply-default.txt
+++ b/server/testfixtures/test-repos/tfvars-yaml-no-autoplan/exp-output-apply-default.txt
@@ -1,25 +1,15 @@
Ran Apply for project: `default` dir: `.` workspace: `default`
-Show Output
-
```diff
null_resource.simple:
null_resource.simple:
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: default.tfstate
-
Outputs:
var = "default"
workspace = "default"
```
-
diff --git a/server/testfixtures/test-repos/tfvars-yaml-no-autoplan/exp-output-apply-staging.txt b/server/testfixtures/test-repos/tfvars-yaml-no-autoplan/exp-output-apply-staging.txt
index 4bb289059..6d217cc7f 100644
--- a/server/testfixtures/test-repos/tfvars-yaml-no-autoplan/exp-output-apply-staging.txt
+++ b/server/testfixtures/test-repos/tfvars-yaml-no-autoplan/exp-output-apply-staging.txt
@@ -1,25 +1,15 @@
Ran Apply for project: `staging` dir: `.` workspace: `default`
-Show Output
-
```diff
null_resource.simple:
null_resource.simple:
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: staging.tfstate
-
Outputs:
var = "staging"
workspace = "default"
```
-
diff --git a/server/testfixtures/test-repos/tfvars-yaml-no-autoplan/exp-output-plan-default.txt b/server/testfixtures/test-repos/tfvars-yaml-no-autoplan/exp-output-plan-default.txt
index 7f146e028..c97767f65 100644
--- a/server/testfixtures/test-repos/tfvars-yaml-no-autoplan/exp-output-plan-default.txt
+++ b/server/testfixtures/test-repos/tfvars-yaml-no-autoplan/exp-output-plan-default.txt
@@ -4,8 +4,8 @@ Ran Plan for project: `default` dir: `.` workspace: `default`
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
diff --git a/server/testfixtures/test-repos/tfvars-yaml-no-autoplan/exp-output-plan-staging.txt b/server/testfixtures/test-repos/tfvars-yaml-no-autoplan/exp-output-plan-staging.txt
index b05a3296f..1c367d94b 100644
--- a/server/testfixtures/test-repos/tfvars-yaml-no-autoplan/exp-output-plan-staging.txt
+++ b/server/testfixtures/test-repos/tfvars-yaml-no-autoplan/exp-output-plan-staging.txt
@@ -4,8 +4,8 @@ Ran Plan for project: `staging` dir: `.` workspace: `default`
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
diff --git a/server/testfixtures/test-repos/tfvars-yaml/exp-output-apply-default.txt b/server/testfixtures/test-repos/tfvars-yaml/exp-output-apply-default.txt
index 0cb3d9286..ccc0bfe01 100644
--- a/server/testfixtures/test-repos/tfvars-yaml/exp-output-apply-default.txt
+++ b/server/testfixtures/test-repos/tfvars-yaml/exp-output-apply-default.txt
@@ -1,25 +1,15 @@
Ran Apply for project: `default` dir: `.` workspace: `default`
-Show Output
-
```diff
null_resource.simple:
null_resource.simple:
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: default.tfstate
-
Outputs:
var = "default"
workspace = "default"
```
-
diff --git a/server/testfixtures/test-repos/tfvars-yaml/exp-output-apply-staging.txt b/server/testfixtures/test-repos/tfvars-yaml/exp-output-apply-staging.txt
index 4bb289059..6d217cc7f 100644
--- a/server/testfixtures/test-repos/tfvars-yaml/exp-output-apply-staging.txt
+++ b/server/testfixtures/test-repos/tfvars-yaml/exp-output-apply-staging.txt
@@ -1,25 +1,15 @@
Ran Apply for project: `staging` dir: `.` workspace: `default`
-Show Output
-
```diff
null_resource.simple:
null_resource.simple:
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
-
-State path: staging.tfstate
-
Outputs:
var = "staging"
workspace = "default"
```
-
diff --git a/server/testfixtures/test-repos/tfvars-yaml/exp-output-autoplan.txt b/server/testfixtures/test-repos/tfvars-yaml/exp-output-autoplan.txt
index dd7fb7a49..73619713a 100644
--- a/server/testfixtures/test-repos/tfvars-yaml/exp-output-autoplan.txt
+++ b/server/testfixtures/test-repos/tfvars-yaml/exp-output-autoplan.txt
@@ -8,8 +8,8 @@ Ran Plan for 2 projects:
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
@@ -43,8 +43,8 @@ Plan: 1 to add, 0 to change, 0 to destroy.
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
diff --git a/server/testfixtures/test-repos/workspace-parallel-yaml/exp-output-apply-all-production.txt b/server/testfixtures/test-repos/workspace-parallel-yaml/exp-output-apply-all-production.txt
index 8db99dceb..d5cc36d03 100644
--- a/server/testfixtures/test-repos/workspace-parallel-yaml/exp-output-apply-all-production.txt
+++ b/server/testfixtures/test-repos/workspace-parallel-yaml/exp-output-apply-all-production.txt
@@ -1,21 +1,34 @@
-Show Output
+Ran Apply for 2 projects:
+1. dir: `staging` workspace: `staging`
+1. dir: `production` workspace: `production`
+
+### 1. dir: `staging` workspace: `staging`
```diff
null_resource.this: Creating...
null_resource.this: Creation complete after *s [id=*******************]
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
+Outputs:
-State path: terraform.tfstate
+workspace = "staging"
+
+```
+
+---
+### 2. dir: `production` workspace: `production`
+```diff
+null_resource.this: Creating...
+null_resource.this: Creation complete after *s [id=*******************]
+
+Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
Outputs:
workspace = "production"
```
-
+
+---
+
diff --git a/server/testfixtures/test-repos/workspace-parallel-yaml/exp-output-apply-all-staging.txt b/server/testfixtures/test-repos/workspace-parallel-yaml/exp-output-apply-all-staging.txt
index 09914e65d..b82518ed6 100644
--- a/server/testfixtures/test-repos/workspace-parallel-yaml/exp-output-apply-all-staging.txt
+++ b/server/testfixtures/test-repos/workspace-parallel-yaml/exp-output-apply-all-staging.txt
@@ -1,21 +1,34 @@
-Show Output
+Ran Apply for 2 projects:
+1. dir: `production` workspace: `production`
+1. dir: `staging` workspace: `staging`
+
+### 1. dir: `production` workspace: `production`
```diff
null_resource.this: Creating...
null_resource.this: Creation complete after *s [id=*******************]
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
-The state of your infrastructure has been saved to the path
-below. This state is required to modify and destroy your
-infrastructure, so keep it safe. To inspect the complete state
-use the `terraform show` command.
+Outputs:
-State path: terraform.tfstate
+workspace = "production"
+
+```
+
+---
+### 2. dir: `staging` workspace: `staging`
+```diff
+null_resource.this: Creating...
+null_resource.this: Creation complete after *s [id=*******************]
+
+Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
Outputs:
workspace = "staging"
```
-
+
+---
+
diff --git a/server/testfixtures/test-repos/workspace-parallel-yaml/exp-output-autoplan-production.txt b/server/testfixtures/test-repos/workspace-parallel-yaml/exp-output-autoplan-production.txt
index a3b2973c5..a8f4b695a 100644
--- a/server/testfixtures/test-repos/workspace-parallel-yaml/exp-output-autoplan-production.txt
+++ b/server/testfixtures/test-repos/workspace-parallel-yaml/exp-output-autoplan-production.txt
@@ -1,9 +1,15 @@
+Ran Plan for 2 projects:
+
+1. dir: `production` workspace: `production`
+1. dir: `staging` workspace: `staging`
+
+### 1. dir: `production` workspace: `production`
Show Output
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
@@ -26,3 +32,42 @@ Changes to Outputs:
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d production -w production`
+Plan: 1 to add, 0 to change, 0 to destroy.
+
+---
+### 2. dir: `staging` workspace: `staging`
+Show Output
+
+```diff
+
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
++ create
+
+Terraform will perform the following actions:
+
+ # null_resource.this will be created
++ resource "null_resource" "this" {
+ + id = (known after apply)
+ }
+
+Plan: 1 to add, 0 to change, 0 to destroy.
+
+Changes to Outputs:
++ workspace = "staging"
+
+```
+
+* :arrow_forward: To **apply** this plan, comment:
+ * `atlantis apply -d staging -w staging`
+* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
+* :repeat: To **plan** this project again, comment:
+ * `atlantis plan -d staging -w staging`
+
+Plan: 1 to add, 0 to change, 0 to destroy.
+
+---
+* :fast_forward: To **apply** all unapplied plans from this pull request, comment:
+ * `atlantis apply`
+* :put_litter_in_its_place: To delete all plans and locks for the PR, comment:
+ * `atlantis unlock`
diff --git a/server/testfixtures/test-repos/workspace-parallel-yaml/exp-output-autoplan-staging.txt b/server/testfixtures/test-repos/workspace-parallel-yaml/exp-output-autoplan-staging.txt
index 5f172a961..a8f4b695a 100644
--- a/server/testfixtures/test-repos/workspace-parallel-yaml/exp-output-autoplan-staging.txt
+++ b/server/testfixtures/test-repos/workspace-parallel-yaml/exp-output-autoplan-staging.txt
@@ -1,9 +1,47 @@
+Ran Plan for 2 projects:
+
+1. dir: `production` workspace: `production`
+1. dir: `staging` workspace: `staging`
+
+### 1. dir: `production` workspace: `production`
Show Output
```diff
-An execution plan has been generated and is shown below.
-Resource actions are indicated with the following symbols:
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
++ create
+
+Terraform will perform the following actions:
+
+ # null_resource.this will be created
++ resource "null_resource" "this" {
+ + id = (known after apply)
+ }
+
+Plan: 1 to add, 0 to change, 0 to destroy.
+
+Changes to Outputs:
++ workspace = "production"
+
+```
+
+* :arrow_forward: To **apply** this plan, comment:
+ * `atlantis apply -d production -w production`
+* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
+* :repeat: To **plan** this project again, comment:
+ * `atlantis plan -d production -w production`
+
+Plan: 1 to add, 0 to change, 0 to destroy.
+
+---
+### 2. dir: `staging` workspace: `staging`
+Show Output
+
+```diff
+
+Terraform used the selected providers to generate the following execution
+plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
@@ -26,3 +64,10 @@ Changes to Outputs:
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d staging -w staging`
+Plan: 1 to add, 0 to change, 0 to destroy.
+
+---
+* :fast_forward: To **apply** all unapplied plans from this pull request, comment:
+ * `atlantis apply`
+* :put_litter_in_its_place: To delete all plans and locks for the PR, comment:
+ * `atlantis unlock`