sigs.k8s.io/cluster-api-provider-aws@v1.5.5/docs/book/src/topics/eks/disabling.md (about) 1 # Disabling EKS Support 2 3 Support for EKS is enabled by default when you use the AWS infrastructure provider. But if you never plan to use EKS then you can disable the EKS support. The following sections describe the process. 4 5 ## Disabling IAM objects for EKS 6 7 To ensure that there are no IAM objects created for EKS you will need to use a configuration file with `clusterawsadm` and specify that EKS is disabled: 8 9 ```yaml 10 apiVersion: bootstrap.aws.infrastructure.cluster.x-k8s.io/v1beta1 11 kind: AWSIAMConfiguration 12 spec: 13 eks: 14 disable: true 15 ``` 16 17 and then use that configuration file: 18 19 ```bash 20 clusterawsadm bootstrap iam create-cloudformation-stack --config bootstrap-config.yaml 21 ``` 22 23 ## Disable EKS in the provider 24 25 Disbling EKS support is done via the **EKS** feature flag by setting it to false. This can be done before running `clusterctl init` by using the **CAPA_EKS** environment variable: 26 27 ```shell 28 export CAPA_EKS=false 29 clusterctl init --infrastructure aws 30 ```