feat: Refine the Atlantis VCS Pull Request Comments (#4254)

This commit is contained in:
Simon Heather
2024-03-23 15:58:30 +00:00
committed by GitHub
parent 4750dc2dc8
commit 566b15f356
113 changed files with 2428 additions and 960 deletions

View File

@@ -2,6 +2,7 @@ Ran Plan for 2 projects:
1. dir: `dir1` workspace: `default`
1. dir: `dir2` workspace: `default`
---
### 1. dir: `dir1` workspace: `default`
```diff
@@ -20,10 +21,14 @@ Plan: 1 to add, 0 to change, 0 to destroy.
```
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d dir1`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d dir1
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir1`
```shell
atlantis plan -d dir1
```
---
### 2. dir: `dir2` workspace: `default`
@@ -43,17 +48,25 @@ Plan: 1 to add, 0 to change, 0 to destroy.
```
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d dir2`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d dir2
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir2`
```shell
atlantis plan -d dir2
```
---
### Plan Summary
2 projects, 2 with changes, 0 with no changes, 0 failed
* :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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -2,6 +2,7 @@ Ran Plan for 2 projects:
1. dir: `dir1` workspace: `default`
1. dir: `dir2` workspace: `default`
---
### 1. dir: `dir1` workspace: `default`
<details><summary>Show Output</summary>
@@ -26,13 +27,17 @@ Terraform will perform the following actions:
Plan: 1 to add, 0 to change, 0 to destroy.
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d dir1`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d dir1
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir1`
</details>
```shell
atlantis plan -d dir1
```
Plan: 1 to add, 0 to change, 0 to destroy.
---
@@ -59,13 +64,17 @@ Terraform will perform the following actions:
Plan: 1 to add, 0 to change, 0 to destroy.
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d dir2`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d dir2
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir2`
</details>
```shell
atlantis plan -d dir2
```
Plan: 1 to add, 0 to change, 0 to destroy.
---
@@ -73,7 +82,11 @@ Plan: 1 to add, 0 to change, 0 to destroy.
2 projects, 2 with changes, 0 with no changes, 0 failed
* :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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -15,4 +15,6 @@ your Terraform state and will henceforth be managed by Terraform.
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir1`
```shell
atlantis plan -d dir1
```

View File

@@ -2,6 +2,7 @@ Ran Plan for 2 projects:
1. dir: `dir1` workspace: `default`
1. dir: `dir2` workspace: `default`
---
### 1. dir: `dir1` workspace: `default`
```diff
@@ -14,10 +15,14 @@ and found no differences, so no changes are needed.
```
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d dir1`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d dir1
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir1`
```shell
atlantis plan -d dir1
```
---
### 2. dir: `dir2` workspace: `default`
@@ -43,13 +48,17 @@ Terraform will perform the following actions:
Plan: 1 to add, 0 to change, 0 to destroy.
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d dir2`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d dir2
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir2`
</details>
```shell
atlantis plan -d dir2
```
Plan: 1 to add, 0 to change, 0 to destroy.
---
@@ -57,7 +66,11 @@ Plan: 1 to add, 0 to change, 0 to destroy.
2 projects, 1 with changes, 1 with no changes, 0 failed
* :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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -33,17 +33,25 @@ Terraform will perform the following actions:
Plan: 2 to add, 0 to change, 0 to destroy.
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
Plan: 2 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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -15,4 +15,6 @@ your Terraform state and will henceforth be managed by Terraform.
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```

View File

@@ -15,4 +15,6 @@ your Terraform state and will henceforth be managed by Terraform.
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```

View File

@@ -8,13 +8,21 @@ and found no differences, so no changes are needed.
```
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d . -- -var var=overridden`
```shell
atlantis plan -d . -- -var var=overridden
```
---
* :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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -33,17 +33,25 @@ Terraform will perform the following actions:
Plan: 2 to add, 0 to change, 0 to destroy.
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
Plan: 2 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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -15,4 +15,6 @@ your Terraform state and will henceforth be managed by Terraform.
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```

View File

@@ -15,4 +15,6 @@ your Terraform state and will henceforth be managed by Terraform.
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```

View File

@@ -8,13 +8,21 @@ and found no differences, so no changes are needed.
```
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```
---
* :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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -15,4 +15,6 @@ your Terraform state and will henceforth be managed by Terraform.
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.
* :repeat: To **plan** this project again, comment:
* `atlantis plan -p dir1-ops`
```shell
atlantis plan -p dir1-ops
```

View File

@@ -15,4 +15,6 @@ your Terraform state and will henceforth be managed by Terraform.
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.
* :repeat: To **plan** this project again, comment:
* `atlantis plan -p dir1-ops`
```shell
atlantis plan -p dir1-ops
```

View File

@@ -8,13 +8,21 @@ and found no differences, so no changes are needed.
```
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -p dir1-ops`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -p dir1-ops
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -p dir1-ops`
```shell
atlantis plan -p dir1-ops
```
---
* :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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -2,6 +2,7 @@ Ran Plan for 2 projects:
1. dir: `staging` workspace: `default`
1. dir: `production` workspace: `default`
---
### 1. dir: `staging` workspace: `default`
<details><summary>Show Output</summary>
@@ -23,13 +24,17 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ var = "staging"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d staging`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d staging
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d staging`
</details>
```shell
atlantis plan -d staging
```
Plan: 1 to add, 0 to change, 0 to destroy.
---
@@ -53,13 +58,17 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ var = "production"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d production`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d production
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d production`
</details>
```shell
atlantis plan -d production
```
Plan: 1 to add, 0 to change, 0 to destroy.
---
@@ -67,7 +76,11 @@ Plan: 1 to add, 0 to change, 0 to destroy.
2 projects, 2 with changes, 0 with no changes, 0 failed
* :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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -20,8 +20,12 @@ Plan: 1 to add, 0 to change, 0 to destroy.
```
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d production`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d production
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d production`
```shell
atlantis plan -d production
```

View File

@@ -20,8 +20,12 @@ Plan: 1 to add, 0 to change, 0 to destroy.
```
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d staging`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d staging
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d staging`
```shell
atlantis plan -d staging
```

View File

@@ -19,17 +19,25 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ var = "staging"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d staging`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d staging
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d staging`
</details>
```shell
atlantis plan -d 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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -19,17 +19,25 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ var = "production"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d production`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d production
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d production`
</details>
```shell
atlantis plan -d production
```
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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -19,17 +19,25 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ var = "staging"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d staging`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d staging
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d staging`
</details>
```shell
atlantis plan -d 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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -15,15 +15,24 @@ FAIL - <redacted plan file> - main - WARNING: Null Resource creation is prohibit
policy set: test_policy: requires: 1 approval(s), have: 0.
```
* :heavy_check_mark: To **approve** this project, comment:
* `atlantis approve_policies -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis approve_policies -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```
---
* :heavy_check_mark: To **approve** all unapplied plans from this pull request, comment:
* `atlantis approve_policies`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `atlantis unlock`
* :heavy_check_mark: To **approve** all unapplied plans from this Pull Request, comment:
```shell
atlantis approve_policies
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan`
```shell
atlantis plan
```

View File

@@ -19,17 +19,25 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ workspace = "default"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -1,6 +1,7 @@
Ran Approve Policies for 1 projects:
1. dir: `.` workspace: `default`
---
### 1. dir: `.` workspace: `default`
**Approve Policies Failed**: One or more policy sets require additional approval.
@@ -9,15 +10,25 @@ Ran Approve Policies for 1 projects:
policy set: test_policy: requires: 1 approval(s), have: 0.
```
* :heavy_check_mark: To **approve** this project, comment:
* `atlantis approve_policies -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis approve_policies -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```
---
* :heavy_check_mark: To **approve** all unapplied plans from this pull request, comment:
* `atlantis approve_policies`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `atlantis unlock`
* :heavy_check_mark: To **approve** all unapplied plans from this Pull Request, comment:
```shell
atlantis approve_policies
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan`
```shell
atlantis plan
```

View File

@@ -15,15 +15,24 @@ FAIL - <redacted plan file> - main - WARNING: Null Resource creation is prohibit
policy set: test_policy: requires: 1 approval(s), have: 0.
```
* :heavy_check_mark: To **approve** this project, comment:
* `atlantis approve_policies -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis approve_policies -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```
---
* :heavy_check_mark: To **approve** all unapplied plans from this pull request, comment:
* `atlantis approve_policies`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `atlantis unlock`
* :heavy_check_mark: To **approve** all unapplied plans from this Pull Request, comment:
```shell
atlantis approve_policies
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan`
```shell
atlantis plan
```

View File

@@ -19,17 +19,25 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ workspace = "default"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -25,15 +25,24 @@ post-conftest output
policy set: test_policy: requires: 1 approval(s), have: 0.
```
* :heavy_check_mark: To **approve** this project, comment:
* `atlantis approve_policies -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis approve_policies -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```
---
* :heavy_check_mark: To **approve** all unapplied plans from this pull request, comment:
* `atlantis approve_policies`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `atlantis unlock`
* :heavy_check_mark: To **approve** all unapplied plans from this Pull Request, comment:
```shell
atlantis approve_policies
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan`
```shell
atlantis plan
```

View File

@@ -19,17 +19,25 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ workspace = "default"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -1,6 +1,7 @@
Ran Approve Policies for 1 projects:
1. dir: `.` workspace: `default`
---
### 1. dir: `.` workspace: `default`
**Approve Policies Error**
@@ -15,15 +16,25 @@ Ran Approve Policies for 1 projects:
policy set: test_policy: requires: 1 approval(s), have: 0.
```
* :heavy_check_mark: To **approve** this project, comment:
* `atlantis approve_policies -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis approve_policies -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```
---
* :heavy_check_mark: To **approve** all unapplied plans from this pull request, comment:
* `atlantis approve_policies`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `atlantis unlock`
* :heavy_check_mark: To **approve** all unapplied plans from this Pull Request, comment:
```shell
atlantis approve_policies
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan`
```shell
atlantis plan
```

View File

@@ -15,15 +15,24 @@ FAIL - <redacted plan file> - main - WARNING: Null Resource creation is prohibit
policy set: test_policy: requires: 1 approval(s), have: 0.
```
* :heavy_check_mark: To **approve** this project, comment:
* `atlantis approve_policies -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis approve_policies -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```
---
* :heavy_check_mark: To **approve** all unapplied plans from this pull request, comment:
* `atlantis approve_policies`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `atlantis unlock`
* :heavy_check_mark: To **approve** all unapplied plans from this Pull Request, comment:
```shell
atlantis approve_policies
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan`
```shell
atlantis plan
```

View File

@@ -19,17 +19,25 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ workspace = "default"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -15,15 +15,24 @@ FAIL - <redacted plan file> - main - WARNING: Null Resource creation is prohibit
policy set: test_policy: requires: 1 approval(s), have: 0.
```
* :heavy_check_mark: To **approve** this project, comment:
* `atlantis approve_policies -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis approve_policies -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```
---
* :heavy_check_mark: To **approve** all unapplied plans from this pull request, comment:
* `atlantis approve_policies`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `atlantis unlock`
* :heavy_check_mark: To **approve** all unapplied plans from this Pull Request, comment:
```shell
atlantis approve_policies
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan`
```shell
atlantis plan
```

View File

@@ -19,17 +19,25 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ workspace = "default"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -15,15 +15,24 @@ FAIL - <redacted plan file> - main - WARNING: Null Resource creation is prohibit
policy set: test_policy: requires: 1 approval(s), have: 0.
```
* :heavy_check_mark: To **approve** this project, comment:
* `atlantis approve_policies -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis approve_policies -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```
---
* :heavy_check_mark: To **approve** all unapplied plans from this pull request, comment:
* `atlantis approve_policies`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `atlantis unlock`
* :heavy_check_mark: To **approve** all unapplied plans from this Pull Request, comment:
```shell
atlantis approve_policies
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan`
```shell
atlantis plan
```

View File

@@ -19,17 +19,25 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ workspace = "default"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -15,15 +15,24 @@ FAIL - <redacted plan file> - main - WARNING: Null Resource creation is prohibit
policy set: test_policy: requires: 1 approval(s), have: 0.
```
* :heavy_check_mark: To **approve** this project, comment:
* `atlantis approve_policies -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis approve_policies -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```
---
* :heavy_check_mark: To **approve** all unapplied plans from this pull request, comment:
* `atlantis approve_policies`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `atlantis unlock`
* :heavy_check_mark: To **approve** all unapplied plans from this Pull Request, comment:
```shell
atlantis approve_policies
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan`
```shell
atlantis plan
```

View File

@@ -19,17 +19,25 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ workspace = "default"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -15,15 +15,24 @@ FAIL - <redacted plan file> - main - WARNING: Null Resource creation is prohibit
policy set: test_policy: requires: 1 approval(s), have: 0.
```
* :heavy_check_mark: To **approve** this project, comment:
* `atlantis approve_policies -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis approve_policies -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```
---
* :heavy_check_mark: To **approve** all unapplied plans from this pull request, comment:
* `atlantis approve_policies`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `atlantis unlock`
* :heavy_check_mark: To **approve** all unapplied plans from this Pull Request, comment:
```shell
atlantis approve_policies
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan`
```shell
atlantis plan
```

View File

@@ -19,17 +19,25 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ workspace = "default"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -15,15 +15,24 @@ FAIL - <redacted plan file> - main - WARNING: Null Resource creation is prohibit
policy set: test_policy: requires: 1 approval(s), have: 0.
```
* :heavy_check_mark: To **approve** this project, comment:
* `atlantis approve_policies -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis approve_policies -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```
---
* :heavy_check_mark: To **approve** all unapplied plans from this pull request, comment:
* `atlantis approve_policies`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `atlantis unlock`
* :heavy_check_mark: To **approve** all unapplied plans from this Pull Request, comment:
```shell
atlantis approve_policies
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan`
```shell
atlantis plan
```

View File

@@ -19,17 +19,25 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ workspace = "default"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -15,15 +15,24 @@ FAIL - <redacted plan file> - null_resource_policy - WARNING: Null Resource crea
policy set: test_policy: requires: 1 approval(s), have: 0.
```
* :heavy_check_mark: To **approve** this project, comment:
* `atlantis approve_policies -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis approve_policies -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```
---
* :heavy_check_mark: To **approve** all unapplied plans from this pull request, comment:
* `atlantis approve_policies`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `atlantis unlock`
* :heavy_check_mark: To **approve** all unapplied plans from this Pull Request, comment:
```shell
atlantis approve_policies
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan`
```shell
atlantis plan
```

View File

@@ -19,17 +19,25 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ workspace = "default"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -2,6 +2,7 @@ Ran Apply for 2 projects:
1. dir: `dir1` workspace: `default`
1. dir: `dir2` workspace: `default`
---
### 1. dir: `dir1` workspace: `default`
```diff

View File

@@ -2,6 +2,7 @@ Ran Policy Check for 2 projects:
1. dir: `dir1` workspace: `default`
1. dir: `dir2` workspace: `default`
---
### 1. dir: `dir1` workspace: `default`
#### Policy Set: `test_policy`
@@ -13,10 +14,14 @@ Ran Policy Check for 2 projects:
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d dir1`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d dir1
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan -d dir1`
```shell
atlantis plan -d dir1
```
---
### 2. dir: `dir2` workspace: `default`
@@ -35,15 +40,25 @@ FAIL - <redacted plan file> - main - WARNING: Forbidden Resource creation is pro
policy set: test_policy: requires: 1 approval(s), have: 0.
```
* :heavy_check_mark: To **approve** this project, comment:
* `atlantis approve_policies -d dir2`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis approve_policies -d dir2
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan -d dir2`
```shell
atlantis plan -d dir2
```
---
* :heavy_check_mark: To **approve** all unapplied plans from this pull request, comment:
* `atlantis approve_policies`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `atlantis unlock`
* :heavy_check_mark: To **approve** all unapplied plans from this Pull Request, comment:
```shell
atlantis approve_policies
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan`
```shell
atlantis plan
```

View File

@@ -2,6 +2,7 @@ Ran Plan for 2 projects:
1. dir: `dir1` workspace: `default`
1. dir: `dir2` workspace: `default`
---
### 1. dir: `dir1` workspace: `default`
<details><summary>Show Output</summary>
@@ -23,13 +24,17 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ workspace = "default"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d dir1`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d dir1
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir1`
</details>
```shell
atlantis plan -d dir1
```
Plan: 1 to add, 0 to change, 0 to destroy.
---
@@ -53,13 +58,17 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ workspace = "default"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d dir2`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d dir2
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir2`
</details>
```shell
atlantis plan -d dir2
```
Plan: 1 to add, 0 to change, 0 to destroy.
---
@@ -67,7 +76,11 @@ Plan: 1 to add, 0 to change, 0 to destroy.
2 projects, 2 with changes, 0 with no changes, 0 failed
* :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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -9,13 +9,21 @@ state, without changing any real infrastructure.
```
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```
---
* :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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -15,15 +15,24 @@ FAIL - <redacted plan file> - main - WARNING: Null Resource creation is prohibit
policy set: test_policy: requires: 1 approval(s), have: 0.
```
* :heavy_check_mark: To **approve** this project, comment:
* `atlantis approve_policies -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis approve_policies -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```
---
* :heavy_check_mark: To **approve** all unapplied plans from this pull request, comment:
* `atlantis approve_policies`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `atlantis unlock`
* :heavy_check_mark: To **approve** all unapplied plans from this Pull Request, comment:
```shell
atlantis approve_policies
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan`
```shell
atlantis plan
```

View File

@@ -19,17 +19,25 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ workspace = "default"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -2,6 +2,7 @@ Ran Apply for 2 projects:
1. dir: `infrastructure/production` workspace: `default`
1. dir: `infrastructure/staging` workspace: `default`
---
### 1. dir: `infrastructure/production` workspace: `default`
```diff

View File

@@ -2,6 +2,7 @@ Ran Plan for 2 projects:
1. dir: `infrastructure/staging` workspace: `default`
1. dir: `infrastructure/production` workspace: `default`
---
### 1. dir: `infrastructure/staging` workspace: `default`
```diff
@@ -20,10 +21,14 @@ Plan: 1 to add, 0 to change, 0 to destroy.
```
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d infrastructure/staging`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d infrastructure/staging
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d infrastructure/staging`
```shell
atlantis plan -d infrastructure/staging
```
---
### 2. dir: `infrastructure/production` workspace: `default`
@@ -43,17 +48,25 @@ Plan: 1 to add, 0 to change, 0 to destroy.
```
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d infrastructure/production`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d infrastructure/production
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d infrastructure/production`
```shell
atlantis plan -d infrastructure/production
```
---
### Plan Summary
2 projects, 2 with changes, 0 with no changes, 0 failed
* :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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -2,6 +2,7 @@ Ran Plan for 2 projects:
1. dir: `.` workspace: `default`
1. dir: `.` workspace: `staging`
---
### 1. dir: `.` workspace: `default`
<details><summary>Show Output</summary>
@@ -28,13 +29,17 @@ Changes to Outputs:
postplan custom
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
Plan: 1 to add, 0 to change, 0 to destroy.
---
@@ -61,13 +66,17 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ workspace = "staging"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -w staging`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -w staging
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -w staging`
</details>
```shell
atlantis plan -w staging
```
Plan: 1 to add, 0 to change, 0 to destroy.
---
@@ -75,7 +84,11 @@ Plan: 1 to add, 0 to change, 0 to destroy.
2 projects, 2 with changes, 0 with no changes, 0 failed
* :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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -30,17 +30,25 @@ Changes to Outputs:
+ var = "default"
+ workspace = "default"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
Plan: 3 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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -30,17 +30,25 @@ Changes to Outputs:
+ var = "default"
+ workspace = "default"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
Plan: 3 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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -2,6 +2,7 @@ Ran Apply for 2 projects:
1. dir: `.` workspace: `default`
1. dir: `.` workspace: `staging`
---
### 1. dir: `.` workspace: `default`
```diff

View File

@@ -2,6 +2,7 @@ Ran Plan for 2 projects:
1. dir: `.` workspace: `default`
1. dir: `.` workspace: `staging`
---
### 1. dir: `.` workspace: `default`
<details><summary>Show Output</summary>
@@ -29,13 +30,17 @@ Changes to Outputs:
postplan
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
Plan: 1 to add, 0 to change, 0 to destroy.
---
@@ -60,13 +65,17 @@ Changes to Outputs:
+ var = "fromfile"
+ workspace = "staging"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -w staging`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -w staging
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -w staging`
</details>
```shell
atlantis plan -w staging
```
Plan: 1 to add, 0 to change, 0 to destroy.
---
@@ -74,7 +83,11 @@ Plan: 1 to add, 0 to change, 0 to destroy.
2 projects, 2 with changes, 0 with no changes, 0 failed
* :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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -25,17 +25,25 @@ Changes to Outputs:
postplan
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -20,17 +20,25 @@ Changes to Outputs:
+ var = "fromfile"
+ workspace = "staging"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -w staging`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -w staging
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -w staging`
</details>
```shell
atlantis plan -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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -2,6 +2,7 @@ Ran Apply for 2 projects:
1. dir: `.` workspace: `default`
1. dir: `.` workspace: `new_workspace`
---
### 1. dir: `.` workspace: `default`
<details><summary>Show Output</summary>

View File

@@ -30,17 +30,25 @@ Changes to Outputs:
+ var = "new_workspace"
+ workspace = "new_workspace"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -w new_workspace`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -w new_workspace
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -w new_workspace -- -var var=new_workspace`
</details>
```shell
atlantis plan -w new_workspace -- -var var=new_workspace
```
Plan: 3 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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -30,17 +30,25 @@ Changes to Outputs:
+ var = "overridden"
+ workspace = "default"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d . -- -var var=overridden`
</details>
```shell
atlantis plan -d . -- -var var=overridden
```
Plan: 3 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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -30,17 +30,25 @@ Changes to Outputs:
+ var = "default_workspace"
+ workspace = "default"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d . -- -var var=default_workspace`
</details>
```shell
atlantis plan -d . -- -var var=default_workspace
```
Plan: 3 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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -5,13 +5,21 @@ Ran Policy Check for dir: `.` workspace: `default`
```
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To re-run policies **plan** this project again by commenting:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```
---
* :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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -30,17 +30,25 @@ Changes to Outputs:
+ var = "default"
+ workspace = "default"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
Plan: 3 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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -2,6 +2,7 @@ Ran Plan for 2 projects:
1. dir: `dir1` workspace: `default`
1. dir: `dir2` workspace: `default`
---
### 1. dir: `dir1` workspace: `default`
<details><summary>Show Output</summary>
@@ -26,13 +27,17 @@ Terraform will perform the following actions:
Plan: 1 to add, 0 to change, 0 to destroy.
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d dir1`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d dir1
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir1`
</details>
```shell
atlantis plan -d dir1
```
Plan: 1 to add, 0 to change, 0 to destroy.
---
@@ -59,13 +64,17 @@ Terraform will perform the following actions:
Plan: 1 to add, 0 to change, 0 to destroy.
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d dir2`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d dir2
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir2`
</details>
```shell
atlantis plan -d dir2
```
Plan: 1 to add, 0 to change, 0 to destroy.
---
@@ -73,7 +82,11 @@ Plan: 1 to add, 0 to change, 0 to destroy.
2 projects, 2 with changes, 0 with no changes, 0 failed
* :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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -15,4 +15,6 @@ your Terraform state and will henceforth be managed by Terraform.
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir1`
```shell
atlantis plan -d dir1
```

View File

@@ -15,4 +15,6 @@ your Terraform state and will henceforth be managed by Terraform.
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir2`
```shell
atlantis plan -d dir2
```

View File

@@ -2,6 +2,7 @@ Ran Plan for 2 projects:
1. dir: `dir1` workspace: `default`
1. dir: `dir2` workspace: `default`
---
### 1. dir: `dir1` workspace: `default`
<details><summary>Show Output</summary>
@@ -26,13 +27,17 @@ Terraform will perform the following actions:
Plan: 1 to add, 0 to change, 0 to destroy.
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d dir1`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d dir1
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir1`
</details>
```shell
atlantis plan -d dir1
```
Plan: 1 to add, 0 to change, 0 to destroy.
---
@@ -59,13 +64,17 @@ Terraform will perform the following actions:
Plan: 1 to add, 0 to change, 0 to destroy.
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d dir2`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d dir2
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir2`
</details>
```shell
atlantis plan -d dir2
```
Plan: 1 to add, 0 to change, 0 to destroy.
---
@@ -73,7 +82,11 @@ Plan: 1 to add, 0 to change, 0 to destroy.
2 projects, 2 with changes, 0 with no changes, 0 failed
* :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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -2,6 +2,7 @@ Ran Plan for 2 projects:
1. dir: `dir1` workspace: `default`
1. dir: `dir2` workspace: `default`
---
### 1. dir: `dir1` workspace: `default`
```diff
@@ -14,10 +15,14 @@ and found no differences, so no changes are needed.
```
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d dir1`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d dir1
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir1`
```shell
atlantis plan -d dir1
```
---
### 2. dir: `dir2` workspace: `default`
@@ -31,17 +36,25 @@ and found no differences, so no changes are needed.
```
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d dir2`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d dir2
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir2`
```shell
atlantis plan -d dir2
```
---
### Plan Summary
2 projects, 0 with changes, 2 with no changes, 0 failed
* :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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -2,6 +2,7 @@ Ran State for 2 projects:
1. dir: `dir1` workspace: `default`
1. dir: `dir2` workspace: `default`
---
### 1. dir: `dir1` workspace: `default`
```diff
@@ -12,7 +13,9 @@ Successfully removed 1 resource instance(s).
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir1`
```shell
atlantis plan -d dir1
```
---
### 2. dir: `dir2` workspace: `default`
@@ -24,6 +27,8 @@ Successfully removed 1 resource instance(s).
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d dir2`
```shell
atlantis plan -d dir2
```
---

View File

@@ -44,17 +44,25 @@ Terraform will perform the following actions:
Plan: 3 to add, 0 to change, 0 to destroy.
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
</details>
```shell
atlantis plan -d .
```
Plan: 3 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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -15,4 +15,6 @@ your Terraform state and will henceforth be managed by Terraform.
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```

View File

@@ -15,4 +15,6 @@ your Terraform state and will henceforth be managed by Terraform.
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```

View File

@@ -15,4 +15,6 @@ your Terraform state and will henceforth be managed by Terraform.
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```

View File

@@ -44,17 +44,25 @@ Terraform will perform the following actions:
Plan: 3 to add, 0 to change, 0 to destroy.
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d . -- -var var=overridden`
</details>
```shell
atlantis plan -d . -- -var var=overridden
```
Plan: 3 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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -8,13 +8,21 @@ and found no differences, so no changes are needed.
```
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -d .`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -d .
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d . -- -var var=overridden`
```shell
atlantis plan -d . -- -var var=overridden
```
---
* :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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -8,4 +8,6 @@ Successfully removed 1 resource instance(s).
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```

View File

@@ -9,4 +9,6 @@ Successfully removed 2 resource instance(s).
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d .`
```shell
atlantis plan -d .
```

View File

@@ -15,4 +15,6 @@ your Terraform state and will henceforth be managed by Terraform.
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.
* :repeat: To **plan** this project again, comment:
* `atlantis plan -p dir1-ops`
```shell
atlantis plan -p dir1-ops
```

View File

@@ -22,17 +22,25 @@ Terraform will perform the following actions:
Plan: 1 to add, 0 to change, 0 to destroy.
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -p dir1-ops`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -p dir1-ops
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -p dir1-ops`
</details>
```shell
atlantis plan -p dir1-ops
```
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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -10,13 +10,21 @@ and found no differences, so no changes are needed.
```
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -p dir1-ops`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -p dir1-ops
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -p dir1-ops`
```shell
atlantis plan -p dir1-ops
```
---
* :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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -8,4 +8,6 @@ Successfully removed 1 resource instance(s).
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.
* :repeat: To **plan** this project again, comment:
* `atlantis plan -p dir1-ops`
```shell
atlantis plan -p dir1-ops
```

View File

@@ -20,17 +20,25 @@ Changes to Outputs:
+ var = "default"
+ workspace = "default"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -p default`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -p default
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -p default`
</details>
```shell
atlantis plan -p default
```
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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -20,17 +20,25 @@ Changes to Outputs:
+ var = "staging"
+ workspace = "default"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -p staging`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -p staging
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -p staging`
</details>
```shell
atlantis plan -p 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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -2,6 +2,7 @@ Ran Plan for 2 projects:
1. project: `default` dir: `.` workspace: `default`
1. project: `staging` dir: `.` workspace: `default`
---
### 1. project: `default` dir: `.` workspace: `default`
<details><summary>Show Output</summary>
@@ -26,13 +27,17 @@ Changes to Outputs:
workspace=default
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -p default`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -p default
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -p default`
</details>
```shell
atlantis plan -p default
```
Plan: 1 to add, 0 to change, 0 to destroy.
---
@@ -57,13 +62,17 @@ Changes to Outputs:
+ var = "staging"
+ workspace = "default"
```
</details>
* :arrow_forward: To **apply** this plan, comment:
* `atlantis apply -p staging`
* :put_litter_in_its_place: To **delete** this plan click [here](lock-url)
```shell
atlantis apply -p staging
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -p staging`
</details>
```shell
atlantis plan -p staging
```
Plan: 1 to add, 0 to change, 0 to destroy.
---
@@ -71,7 +80,11 @@ Plan: 1 to add, 0 to change, 0 to destroy.
2 projects, 2 with changes, 0 with no changes, 0 failed
* :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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -2,6 +2,7 @@ Ran Plan for 2 projects:
1. dir: `production` workspace: `production`
1. dir: `staging` workspace: `staging`
---
### 1. dir: `production` workspace: `production`
<details><summary>Show Output</summary>
@@ -23,13 +24,17 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ workspace = "production"
```
</details>
* :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)
```shell
atlantis apply -d production -w production
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d production -w production`
</details>
```shell
atlantis plan -d production -w production
```
Plan: 1 to add, 0 to change, 0 to destroy.
---
@@ -53,13 +58,17 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ workspace = "staging"
```
</details>
* :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)
```shell
atlantis apply -d staging -w staging
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d staging -w staging`
</details>
```shell
atlantis plan -d staging -w staging
```
Plan: 1 to add, 0 to change, 0 to destroy.
---
@@ -67,7 +76,11 @@ Plan: 1 to add, 0 to change, 0 to destroy.
2 projects, 2 with changes, 0 with no changes, 0 failed
* :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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -2,6 +2,7 @@ Ran Plan for 2 projects:
1. dir: `production` workspace: `production`
1. dir: `staging` workspace: `staging`
---
### 1. dir: `production` workspace: `production`
<details><summary>Show Output</summary>
@@ -23,13 +24,17 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ workspace = "production"
```
</details>
* :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)
```shell
atlantis apply -d production -w production
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d production -w production`
</details>
```shell
atlantis plan -d production -w production
```
Plan: 1 to add, 0 to change, 0 to destroy.
---
@@ -53,13 +58,17 @@ Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ workspace = "staging"
```
</details>
* :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)
```shell
atlantis apply -d staging -w staging
```
* :put_litter_in_its_place: To **delete** this plan and lock, click [here](lock-url)
* :repeat: To **plan** this project again, comment:
* `atlantis plan -d staging -w staging`
</details>
```shell
atlantis plan -d staging -w staging
```
Plan: 1 to add, 0 to change, 0 to destroy.
---
@@ -67,7 +76,11 @@ Plan: 1 to add, 0 to change, 0 to destroy.
2 projects, 2 with changes, 0 with no changes, 0 failed
* :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`
* :fast_forward: To **apply** all unapplied plans from this Pull Request, comment:
```shell
atlantis apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this Pull Request, comment:
```shell
atlantis unlock
```

View File

@@ -261,7 +261,7 @@ func TestApplyCommandRunner_ExecutionOrder(t *testing.T) {
Once(),
},
ExpComment: "Ran Apply for 2 projects:\n\n" +
"1. dir: `` workspace: ``\n1. dir: `` workspace: ``\n\n### 1. dir: `` workspace: ``\n```diff\nGreat success!\n```\n\n---\n### " +
"1. dir: `` workspace: ``\n1. dir: `` workspace: ``\n---\n\n### 1. dir: `` workspace: ``\n```diff\nGreat success!\n```\n\n---\n### " +
"2. dir: `` workspace: ``\n**Apply Error**\n```\nshabang\n```\n\n---\n### Apply Summary\n\n2 projects, 1 successful, 0 failed, 1 errored",
},
{
@@ -346,7 +346,7 @@ func TestApplyCommandRunner_ExecutionOrder(t *testing.T) {
Never(),
},
ExpComment: "Ran Apply for 2 projects:\n\n" +
"1. dir: `` workspace: ``\n1. dir: `` workspace: ``\n\n### 1. dir: `` workspace: ``\n```diff\nGreat success!\n```\n\n---\n### " +
"1. dir: `` workspace: ``\n1. dir: `` workspace: ``\n---\n\n### 1. dir: `` workspace: ``\n```diff\nGreat success!\n```\n\n---\n### " +
"2. dir: `` workspace: ``\n**Apply Error**\n```\nshabang\n```\n\n---\n### Apply Summary\n\n2 projects, 1 successful, 0 failed, 1 errored",
},
{
@@ -399,7 +399,7 @@ func TestApplyCommandRunner_ExecutionOrder(t *testing.T) {
Once(),
},
ExpComment: "Ran Apply for 4 projects:\n\n" +
"1. dir: `` workspace: ``\n1. dir: `` workspace: ``\n1. dir: `` workspace: ``\n1. dir: `` workspace: ``\n\n### 1. dir: `` workspace: ``\n```diff\nGreat success!\n```\n\n---\n### " +
"1. dir: `` workspace: ``\n1. dir: `` workspace: ``\n1. dir: `` workspace: ``\n1. dir: `` workspace: ``\n---\n\n### 1. dir: `` workspace: ``\n```diff\nGreat success!\n```\n\n---\n### " +
"2. dir: `` workspace: ``\n```diff\nGreat success!\n```\n\n---\n### " +
"3. dir: `` workspace: ``\n**Apply Error**\n```\nshabang\n```\n\n---\n### " +
"4. dir: `` workspace: ``\n```diff\nGreat success!\n```\n\n---\n### Apply Summary\n\n4 projects, 3 successful, 0 failed, 1 errored",
@@ -433,7 +433,7 @@ func TestApplyCommandRunner_ExecutionOrder(t *testing.T) {
Once(),
},
ExpComment: "Ran Apply for 2 projects:\n\n" +
"1. dir: `` workspace: ``\n1. dir: `` workspace: ``\n\n### 1. dir: `` workspace: ``\n**Apply Error**\n```\nshabang\n```\n\n---\n### " +
"1. dir: `` workspace: ``\n1. dir: `` workspace: ``\n---\n\n### 1. dir: `` workspace: ``\n**Apply Error**\n```\nshabang\n```\n\n---\n### " +
"2. dir: `` workspace: ``\n```diff\nGreat success!\n```\n\n---\n### Apply Summary\n\n2 projects, 1 successful, 0 failed, 1 errored",
},
{
@@ -463,7 +463,7 @@ func TestApplyCommandRunner_ExecutionOrder(t *testing.T) {
Once(),
},
ExpComment: "Ran Apply for 2 projects:\n\n" +
"1. dir: `` workspace: ``\n1. dir: `` workspace: ``\n\n### 1. dir: `` workspace: ``\n**Apply Error**\n```\nshabang\n```\n\n---\n### " +
"1. dir: `` workspace: ``\n1. dir: `` workspace: ``\n---\n\n### 1. dir: `` workspace: ``\n**Apply Error**\n```\nshabang\n```\n\n---\n### " +
"2. dir: `` workspace: ``\n```diff\nGreat success!\n```\n\n---\n### Apply Summary\n\n2 projects, 1 successful, 0 failed, 1 errored",
},
}

View File

@@ -72,6 +72,7 @@ type commonData struct {
EnableDiffMarkdownFormat bool
ExecutableName string
HideUnchangedPlanComments bool
VcsRequestType string
}
// errData is data about an error response.
@@ -170,13 +171,20 @@ func NewMarkdownRenderer(
// Render formats the data into a markdown string.
// nolint: interfacer
func (m *MarkdownRenderer) Render(res command.Result, cmdName command.Name, subCmd, log string, verbose bool, vcsHost models.VCSHostType) string {
commandStr := cases.Title(language.English).String(strings.Replace(cmdName.String(), "_", " ", -1))
func (m *MarkdownRenderer) Render(ctx *command.Context, res command.Result, cmd PullCommand) string {
commandStr := cases.Title(language.English).String(strings.Replace(cmd.CommandName().String(), "_", " ", -1))
var vcsRequestType string
if ctx.Pull.BaseRepo.VCSHost.Type == models.Gitlab {
vcsRequestType = "Merge Request"
} else {
vcsRequestType = "Pull Request"
}
common := commonData{
Command: commandStr,
SubCommand: subCmd,
Verbose: verbose,
Log: log,
SubCommand: cmd.SubCommandName(),
Verbose: cmd.IsVerbose(),
Log: ctx.Log.GetHistory(),
PlansDeleted: res.PlansDeleted,
DisableApplyAll: m.disableApplyAll || m.disableApply,
DisableApply: m.disableApply,
@@ -184,6 +192,7 @@ func (m *MarkdownRenderer) Render(res command.Result, cmdName command.Name, subC
EnableDiffMarkdownFormat: m.enableDiffMarkdownFormat,
ExecutableName: m.executableName,
HideUnchangedPlanComments: m.hideUnchangedPlanComments,
VcsRequestType: vcsRequestType,
}
templates := m.markdownTemplates
@@ -194,10 +203,12 @@ func (m *MarkdownRenderer) Render(res command.Result, cmdName command.Name, subC
if res.Failure != "" {
return m.renderTemplateTrimSpace(templates.Lookup("failureWithLog"), failureData{res.Failure, "", common})
}
return m.renderProjectResults(res.ProjectResults, common, vcsHost)
return m.renderProjectResults(ctx, res.ProjectResults, common)
}
func (m *MarkdownRenderer) renderProjectResults(results []command.ProjectResult, common commonData, vcsHost models.VCSHostType) string {
func (m *MarkdownRenderer) renderProjectResults(ctx *command.Context, results []command.ProjectResult, common commonData) string {
vcsHost := ctx.Pull.BaseRepo.VCSHost.Type
var resultsTmplData []projectResultTmplData
numPlanSuccesses := 0
numPolicyCheckSuccesses := 0

File diff suppressed because it is too large Load Diff

View File

@@ -29,7 +29,7 @@ func (c *PullUpdater) updatePull(ctx *command.Context, cmd PullCommand, res comm
}
}
comment := c.MarkdownRenderer.Render(res, cmd.CommandName(), cmd.SubCommandName(), ctx.Log.GetHistory(), cmd.IsVerbose(), ctx.Pull.BaseRepo.VCSHost.Type)
comment := c.MarkdownRenderer.Render(ctx, res, cmd)
if err := c.VCSClient.CreateComment(ctx.Log, ctx.Pull.BaseRepo, ctx.Pull.Num, comment, cmd.CommandName().String()); err != nil {
ctx.Log.Err("unable to comment: %s", err)
}

View File

@@ -6,5 +6,7 @@
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.
* :repeat: To **plan** this project again, comment:
* `{{.RePlanCmd}}`
```shell
{{.RePlanCmd}}
```
{{ end -}}

View File

@@ -8,5 +8,7 @@
:put_litter_in_its_place: A plan file was discarded. Re-plan would be required before applying.
* :repeat: To **plan** this project again, comment:
* `{{ .RePlanCmd }}`
```shell
{{ .RePlanCmd }}
```
{{ end -}}

View File

@@ -1,7 +1,7 @@
{{ define "log" -}}
{{ if .Verbose }}
{{ if .Verbose -}}
<details><summary>Log</summary>
<p>
<p>
```
{{.Log}}```

View File

@@ -1,5 +1,5 @@
{{ define "mergedAgain" -}}
{{ if .MergedAgain }}
{{ if .MergedAgain -}}
:twisted_rightwards_arrows: Upstream was modified, a new merge was performed.
{{ end -}}
{{ end -}}

View File

@@ -1,5 +1,5 @@
{{ define "multiProjectApply" -}}
{{ template "multiProjectHeader" . }}
{{ template "multiProjectHeader" . -}}
{{ range $i, $result := .Results -}}
### {{ add $i 1 }}. {{ if $result.ProjectName }}project: `{{ $result.ProjectName }}` {{ end }}dir: `{{ $result.RepoRelDir }}` workspace: `{{ $result.Workspace }}`
{{ $result.Rendered }}

View File

@@ -3,5 +3,9 @@ Ran {{.Command}} for {{ len .Results }} projects:
{{ range $result := .Results -}}
1. {{ if $result.ProjectName }}project: `{{ $result.ProjectName }}` {{ end }}dir: `{{ $result.RepoRelDir }}` workspace: `{{ $result.Workspace }}`
{{ end -}}
{{ if (gt (len .Results) 0) -}}
---
{{ end -}}
{{ end -}}

View File

@@ -1,5 +1,5 @@
{{ define "multiProjectImport" -}}
{{ template "multiProjectHeader" . }}
{{ template "multiProjectHeader" . -}}
{{ range $i, $result := .Results -}}
### {{ add $i 1 }}. {{ if $result.ProjectName }}project: `{{ $result.ProjectName }}` {{ end }}dir: `{{ $result.RepoRelDir }}` workspace: `{{ $result.Workspace }}`
{{ $result.Rendered }}

View File

@@ -1,5 +1,5 @@
{{ define "multiProjectPlan" -}}
{{ template "multiProjectHeader" . }}
{{ template "multiProjectHeader" . -}}
{{ $disableApplyAll := .DisableApplyAll -}}
{{ $hideUnchangedPlans := .HideUnchangedPlanComments -}}
{{ range $i, $result := .Results -}}

View File

@@ -4,10 +4,14 @@
{{ len .Results }} projects, {{ .NumPlansWithChanges }} with changes, {{ .NumPlansWithNoChanges }} with no changes, {{ .NumPlanFailures }} failed
{{ if and (not .PlansDeleted) (ne .DisableApplyAll true) }}
* :fast_forward: To **apply** all unapplied plans from this pull request, comment:
* `{{ .ExecutableName }} apply`
* :put_litter_in_its_place: To **delete** all plans and locks for the PR, comment:
* `{{ .ExecutableName }} unlock`
* :fast_forward: To **apply** all unapplied plans from this {{ .VcsRequestType }}, comment:
```shell
{{ .ExecutableName }} apply
```
* :put_litter_in_its_place: To **delete** all plans and locks from this {{ .VcsRequestType }}, comment:
```shell
{{ .ExecutableName }} unlock
```
{{ end -}}
{{ end -}}
{{ end -}}

Some files were not shown because too many files have changed in this diff Show More