Skip to content

Commit

Permalink
chore: Update destroy instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs committed Mar 8, 2024
1 parent d95f67b commit f8e64f2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cluster-autoscaler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ kubectl apply -f inflate.yaml
1. Remove the resources created by Terraform

```sh
terraform destroy -target=module.eks_blueprints_addons
# Necessary to avoid removing Terraform's permissions too soon before its finished
# cleaning up the resources it deployed inside the cluster
terraform state rm 'module.eks.aws_eks_access_entry.this["cluster_creator"]' || true
terraform state rm 'module.eks.aws_eks_access_policy_association.this["cluster_creator_admin"]' || true

terraform destroy
```
6 changes: 6 additions & 0 deletions inferentia/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,11 @@ This will show the endpoint that can be used to send requests to the model and g
1. Remove the resources created by Terraform

```sh
# Necessary to avoid removing Terraform's permissions too soon before its finished
# cleaning up the resources it deployed inside the cluster
terraform state rm 'module.eks.aws_eks_access_entry.this["cluster_creator"]' || true
terraform state rm 'module.eks.aws_eks_access_policy_association.this["cluster_creator_admin"]' || true
terraform destroy -target='module.eks_blueprints_addons'
terraform destroy
```

0 comments on commit f8e64f2

Please sign in to comment.