
You have now completed this guide, but you still need to clean up the resources created during this guide.
Delete the repository
aws ecr delete-repository $IMAGE_NAME
Navigate to the following directory
cd examples/upbound-aws-provider/composite-resources/serverless-examples/sqs-lambda-s3/
Remove the claim
kubectl delete -f claim/sqs-lambda-s3-claim.yaml
Validate the claim was removed
kubectl get serverlessapp
Should return no claims.
Navigate to the AWS Console and check that the SQS, Lambda function, and S3 bucket are deleted.
Once deleted, remove the XRDs and Compositions:
kubectl delete -k .
If you created EKS cluster with the instructions from this Readme, use the included destroy.sh script to remove it.
Navigate to the following directory:
cd bootstrap/terraform/
./destroy.sh
Congratulations! You have finished the Deploy a Serverless Application using Crossplane on EKS getting started guide. Continue your journey with AWS by following other examples in the Crossplane on EKS repository.