Skip to content

Commit d5be998

Browse files
committed
Adding GH Actions and fixing linter
1 parent 2f28bd7 commit d5be998

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/patterns/single-new-eks-observability-accelerators/single-new-eks-opensource-observability.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ export COA_AMG_WORKSPACE_ID=g-xxx
5757
export COA_AMG_ENDPOINT_URL=https://g-xyz.grafana-workspace.us-east-1.amazonaws.com
5858
```
5959

60+
!!! warning
61+
Setting up environment variables `COA_AMG_ENDPOINT_URL` and `AWS_REGION` is mandatory for successful execution of this pattern.
62+
6063
4. GRAFANA API KEY: Amazon Managed Grafana provides a control plane API for generating Grafana API keys.
6164

6265
```bash

lib/single-new-eks-opensource-observability-construct/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export default class SingleNewEksOpenSourceobservabilityConstruct {
2323
const ampPrometheusEndpoint = (blueprints.getNamedResource(ampWorkspaceName) as unknown as amp.CfnWorkspace).attrPrometheusEndpoint;
2424

2525
const amgEndpointUrl = process.env.COA_AMG_ENDPOINT_URL;
26-
assert(amgEndpointUrl, 'The "COA_AMG_ENDPOINT_URL" environment variable needs to be populated with AMG URL Endpoint');
2726

2827
// All Grafana Dashboard URLs from `cdk.json` if present
2928
const clusterDashUrl: string = utils.valueFromContext(scope, "cluster.dashboard.url", clusterDefaultDashUrl);

0 commit comments

Comments
 (0)