Skip to content

Commit 2adb78f

Browse files
author
ramureddy
committed
add kubectl output as code and terraform output
1 parent 0b36a93 commit 2adb78f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ terraform graph | dot -Tsvg > images/resource-graph.svg
4242

4343
**Output**
4444
-----------------------------------------------------
45-
45+
```
4646
Apply complete! Resources: 33 added, 0 changed, 0 destroyed.
4747
4848
The state of your infrastructure has been saved to the path
@@ -81,18 +81,19 @@ tl-dev-terraform-vpc = vpc-05ad72d1d7c3608ab
8181
8282
tl-dev-terraformbucket_name = arn:aws:s3:::tl-eks-dev-terraformstate
8383
84+
```
8485

8586
**Access EKS endpoint**
8687
------------------------------------------------------
87-
88+
```
8889
root@ramu-VirtualBox:~# aws eks list-clusters --region us-west-2 --profile dev
8990
{
9091
"clusters": [
9192
"terraform-tl-eks-test"
9293
]
9394
}
9495
95-
```root@ramu-VirtualBox:~# aws eks --region us-west-2 update-kubeconfig --profile dev --name terraform-tl-eks-test
96+
root@ramu-VirtualBox:~# aws eks --region us-west-2 update-kubeconfig --profile dev --name terraform-tl-eks-test
9697
Updated context arn:aws:eks:us-west-2:644808427317:cluster/terraform-tl-eks-test in /root/.kube/config
9798
9899
root@ramu-VirtualBox:~# kubectl get po --all-namespaces

0 commit comments

Comments
 (0)