By using AWS re:Post, you agree to the Terms of Use

[Bug] Invalid k8s resource for EKSCluster created through Clouformation


I am unable to create EKS Cluster through Cloudformation with encryption configuration enabled.

For details of the YAML used please see this

I am able to create EKS cluster with cloudformation if the encryption config is not enabled and later change the encryption config through CLI using command below:

aws eks associate-encryption-config \
--cluster-name MY-EKS-CLUSTER \
--encryption-config '[{"resources":["secrets"],"provider":{"keyArn":"SAME_ARN_AS_CF_TEMPLATE"}}]' \

asked a year ago31 views
1 Answer

it worked after making a configuration correction


  • secrets

Please see for details.

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions