@hiiretail/gcp-infra-cli 0.84.1 → 0.84.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,11 +26,17 @@ module.exports = class extends BaseGenerator {
26
26
 
27
27
  writing() {
28
28
  const { date } = this.answers;
29
- const filename = `rca_${date}`;
29
+ const filenameInternal = 'rca_internal';
30
+ const filenameExternal = 'rca_external';
30
31
 
31
32
  this.fs.copyTpl(
32
- this.templatePath('docs', 'rca.md'),
33
- this.destinationPath('docs', 'rca', `${filename}.md`),
33
+ this.templatePath('docs', 'rca_internal.md'),
34
+ this.destinationPath('docs', 'rca', date, `${filenameInternal}.md`),
35
+ this.answers,
36
+ );
37
+ this.fs.copyTpl(
38
+ this.templatePath('docs', 'rca_external.md'),
39
+ this.destinationPath('docs', 'rca', date, `${filenameExternal}.md`),
34
40
  this.answers,
35
41
  );
36
42
  }
@@ -0,0 +1,19 @@
1
+ # RCA External - <%-description%> - <%-date%>
2
+
3
+ ## Summary
4
+
5
+ <!--
6
+ This section should be written last, when all of the other bullets in the RCA has been written. The purpose of this section is to have a section that can be
7
+ shared with external customers as well as internal stakeholders. Some guidelines and pointers:
8
+
9
+ * Think of it as the back cover of a book, a short but descriptive story
10
+ * The people who will read this will most likeley not have the technical know-how that we do, keep it simple
11
+ * Include what the problem was and how the customer(s) was affected
12
+ * Do NOT include any customer names
13
+ * Do NOT include any Hii Retail service names or underlying technologies that we are using
14
+ * Include some general action points, such as if additional alerts needs to be added. Skip the details
15
+ * Don't make promises, if there are any actions that we will look at, just mention them. Don't include target dates
16
+
17
+ Example:
18
+ On January 25 2023 from 14:31 CET to 15:59 CET some customers may have experienced delays with card payments. The issue was traced back to a misconfiguration of a recent deployment. At 15:31 CET a fix was deployed and monitored. At 15:59 CET the issue was resolved for all affected customers.
19
+ -->
@@ -1,4 +1,4 @@
1
- # RCA - <%-description%> - <%-date%>
1
+ # RCA Internal - <%-description%> - <%-date%>
2
2
 
3
3
  ## Overview
4
4
 
@@ -16,6 +16,14 @@
16
16
 
17
17
  **Services involved**: <!-- List the Hii Retail-service(s) that were involved in the incident, for example checkout-poslog -->
18
18
 
19
+ ## Summary
20
+
21
+ <!--
22
+ This section should be written last, when all of the other bullets in the RCA has been written. The summary should include:
23
+
24
+ * What the problem statement was, what the root cause of it was and a short summary of the highest prioritized action points.
25
+ -->
26
+
19
27
  ## Sequence of Events
20
28
 
21
29
  <!--
@@ -51,14 +59,6 @@ Problem: The vehicle won't start
51
59
  4. __Why?__
52
60
  5. __Why?__
53
61
 
54
- ## Summary
55
-
56
- <!--
57
- This section should be written last, when all of the other bullets in the RCA has been written. The summary should include:
58
-
59
- * What the problem statement was, what the root cause of it was and a short summary of the highest prioritized action points.
60
- -->
61
-
62
62
  ## Action items
63
63
 
64
64
  <!--
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiiretail/gcp-infra-cli",
3
- "version": "0.84.1",
3
+ "version": "0.84.2",
4
4
  "description": "Infrastructure as code generator for GCP.",
5
5
  "main": "src/cli.js",
6
6
  "bin": {