Skip to content

Commit 3c6406e

Browse files
authored
Update README.md
1 parent ee763cf commit 3c6406e

File tree

1 file changed

+18
-12
lines changed
  • examples/existing-cluster-with-base-and-infra

1 file changed

+18
-12
lines changed

examples/existing-cluster-with-base-and-infra/README.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,38 +27,44 @@ Ensure that you have the following tools installed locally:
2727
This example uses a local terraform state. If you need states to be saved remotely,
2828
on Amazon S3 for example, visit the [terraform remote states](https://www.terraform.io/language/state/remote) documentation
2929

30-
1. Initialize terraform
30+
1. Clone the repo using the command below
31+
32+
```
33+
git clone https://github.com/aws-observability/terraform-aws-observability-accelerator.git
34+
```
35+
36+
2. Initialize terraform
3137

3238
```console
39+
cd examples/existing-cluster-with-base-and-infra
3340
terraform init
3441
```
3542

36-
2. EKS Cluster
43+
3. AWS Region
44+
45+
Specify the AWS Region where the resources will be deployed. Edit the `terraform.tfvars` file and add `aws_region="..."`. You can also use environement variables `export TF_VAR_aws_region=xxx`.
46+
47+
4. EKS Cluster
3748

3849
To run this example, you need to provide your EKS cluster name.
3950
If you don't have a cluster ready, visit [this example](https://github.com/aws-ia/terraform-aws-eks-blueprints/tree/main/examples/eks-cluster-with-new-vpc)
4051
first to create a new one.
4152

42-
Add `eks_cluster_id=xxx` to your `terraform.tfvars` or use an environment variable `export TF_VAR_eks_cluster_id=xxx`.
53+
Add your cluster name for `eks_cluster_id="..."` to the `terraform.tfvars` or use an environment variable `export TF_VAR_eks_cluster_id=xxx`.
4354

44-
45-
3. Amazon Managed Service for Prometheus workspace
55+
5. Amazon Managed Service for Prometheus workspace
4656

4757
If you have an existing workspace, add `managed_prometheus_workspace_id=ws-xxx`
4858
or use an environment variable `export TF_VAR_managed_prometheus_workspace_id=ws-xxx`.
4959

5060
If you don't specify anything a new workspace will be created for you.
5161

52-
4. Amazon Managed Grafana workspace
53-
62+
6. Amazon Managed Grafana workspace
5463

5564
If you have an existing workspace, add `managed_grafana_workspace_id=g-xxx`
5665
or use an environment variable `export TF_VAR_managed_grafana_workspace_id=g-xxx`.
5766

58-
If you don't specify anything a new workspace will be created for you.
59-
60-
61-
5. Grafana API Key
67+
7. Grafana API Key
6268

6369
- Give admin access to the SSO user you set up when creating the Amazon Managed Grafana Workspace:
6470
- In the AWS Console, navigate to Amazon Grafana. In the left navigation bar, click **All workspaces**, then click on the workspace name you are using for this example.
@@ -77,7 +83,7 @@ If you don't specify anything a new workspace will be created for you.
7783
terraform apply -var-file=terraform.tfvars
7884
```
7985

80-
or if you had setup environment variables
86+
or if you had setup environment variables, run
8187

8288
```sh
8389
terraform apply

0 commit comments

Comments
 (0)