Skip to content

Commit 176dbe4

Browse files
authored
Update README.md
1 parent dabf119 commit 176dbe4

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,32 @@ As for the CD part of using the Github Actions, I’ve followed the instruction
4848
To recreate the Timestream Database and Table deploy the bellow stack:
4949

5050
```
51-
aws cloudformation deploy --template-file cfn/amazon-timestream/timestream.yaml --stack-name home-treadmill-timestream --capabilities CAPABILITY_IAM
51+
aws cloudformation deploy \
52+
--template-file cfn/amazon-timestream/timestream.yaml \
53+
--stack-name home-treadmill-timestream \
54+
--capabilities CAPABILITY_IAM
5255
```
5356

5457
# Grafana
5558

5659
First part to setting up Grafana is to create a role that has readonly access to Timestream
5760
```
58-
aws cloudformation deploy --template-file cfn/grafana/grafana-role.yaml --stack-name grafana-role --capabilities CAPABILITY_IAM
61+
aws cloudformation deploy \
62+
--template-file cfn/grafana/grafana-role.yaml \
63+
--stack-name grafana-role \
64+
--capabilities CAPABILITY_IAM
5965
6066
aws cloudformation describe-stacks --stack-name grafana-role --query "Stacks[0].Outputs[0].OutputValue"
6167
```
6268
This will give out an `arn` that will be used to create a Grafana workspace
6369

6470
```
65-
aws grafana create-workspace --account-access-type CURRENT_ACCOUNT --authentication-providers AWS_SSO --permission-type SERVICE_MANAGED --workspace-data-sources TIMESTREAM --workspace-role-arn <ARN from grafana-role stack>
71+
aws grafana create-workspace \
72+
--account-access-type CURRENT_ACCOUNT \
73+
--authentication-providers AWS_SSO \
74+
--permission-type SERVICE_MANAGED \
75+
--workspace-data-sources TIMESTREAM \
76+
--workspace-role-arn <ARN from grafana-role stack>
6677
```
6778

6879
## Security

0 commit comments

Comments
 (0)