You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/generated/mass_environment.md
-7Lines changed: 0 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,13 +16,6 @@ Environment management
16
16
17
17
Environments can be modeled by application stage (production, staging, development), by region (prod-usw, prod-eu), and even ephemerally per developer (alice-dev, bob-dev).
18
18
19
-
## Commands
20
-
21
-
-`export`: Export an environment to local filesystem
22
-
-`get`: Retrieve environment details and configuration
23
-
-`list`: List all environments in a project
24
-
-`default`: Set an artifact as the default connection for an environment
This command allows you to reset a package status back to 'Initialized'. This should only be used when a package is in an unrecoverable state - common situations include a package stuck in 'Pending' due to deployment issues, or a package that cannot be successfully decommissioned due to deployment failures.
16
+
17
+
## Examples
18
+
19
+
You can reset the package using the `slug` identifier.
20
+
21
+
The `slug` can be found by hovering over the bundle in the Massdriver diagram. The package slug is a combination of the `<project-slug>-<env-slug>-<manifest-slug>`
22
+
23
+
Reset and delete the deployment history:
24
+
25
+
```shell
26
+
mass package reset ecomm-prod-vpc
27
+
```
28
+
29
+
30
+
```
31
+
mass package reset <project>-<env>-<manifest> [flags]
32
+
```
33
+
34
+
### Examples
35
+
36
+
```
37
+
mass package reset api-prod-db
38
+
```
39
+
40
+
### Options
41
+
42
+
```
43
+
-f, --force Skip confirmation prompt
44
+
-h, --help help for reset
45
+
```
46
+
47
+
### SEE ALSO
48
+
49
+
*[mass package](/cli/commands/mass_package) - Manage packages of IaC deployed in environments.
0 commit comments