This folder contains examples for deploying AWS resources using the following providers
- EKS Cluster bootstrap deployment
- Crossplane deployment in bootstrap cluster
- AWS Provider and Terrajet AWS Provider deployment
- ProviderConfig deployment with injected identity
Follow these links to bootstrap the cluster
The following steps demonstrates VPC example composition deployment with AWS Provider
Deploys VPC Composition file and XRD definition file
kubectl apply -f compositions/aws-provider/vpc
Deploys VPC claim resource which uses the above composition.
kubectl apply -f examples/aws-provider/composite-resources/vpc/vpc.yaml
The following steps demonstrates VPC example composition deployment with Jet AWS Provider
Deploys VPC Composition file and XRD definition file
kubectl apply -f compositions/terrajet-aws-provider/vpc
Deploys VPC claim resource which uses the above composition.
kubectl apply -f examples/terrajet-aws-provider/composition-resources/vpc.yaml
The following shows the deployment of VPC using AWS Provider
kubectl apply -f examples/aws-provider/managed-resources/vpc.yaml
# Verify the resource. When provisioning is complete, you should see READY: True in the output
kubectl get VPC aws-provider-vpc
The following example shows the creation of Namespace with Crossplane Kuberentes provider
Note: Kubernetes Provider should be deployed as a pre-requisite for this example. Terraform and eksctl bootstrap scripts deploys kubernetes provider in EKS Cluster.
kubectl apply -f examples/kubernetes-provider/test-namespace.yaml
# Verify the resource
kubectl get namespaces
NAME STATUS AGE
crossplane-test-namespace Active 81s