Skip to content

Commit 8352266

Browse files
manual dashboards import instructions update (#109)
1 parent 7b7ea1a commit 8352266

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,12 +201,20 @@ Dashboards needs to be imported manually. Below is an example for importing Dash
201201
3. Download the dashboard JSONs from [here](terraform/modules/dashboards/dashboards_json/).
202202
4. **Replace** all the instances of the keyword - "`${compartment_ocid}`" in the JSONs with the **Compartment OCID** identified in previous step.
203203
* Following command is for quick reference that can be used in a linux/cloud-shell environment :
204-
205204
```
206205
sed -i "s/\${compartment_ocid}/<Replace-with-Compartment-OCID>/g" *.json
207206
```
207+
* **Note:** Do not replace the keyword {compartment_ocid}. Replace only `<Replace-with-Compartment-OCID>` with your actual target compartment OCID.
208+
209+
5. **Replace** all the instances of the keywords - "`${freeform_tags}`" and "`${freeform_tags}`" with `{}`
210+
* Following command is for quick reference that can be used in a linux/cloud-shell environment :
211+
212+
```
213+
sed -i "s/\${freeform_tags}/{}/g" *.json
214+
sed -i "s/\${defined_tags}/{}/g" *.json
215+
```
208216
209-
5. Run the following commands to import the dashboards.
217+
6. Run the following commands to import the dashboards.
210218
211219
```
212220
oci management-dashboard dashboard import --from-json file://cluster.json

0 commit comments

Comments
 (0)