[Bug] Invalid k8s resource for EKSCluster created through Clouformation

0

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

For details of the YAML used please see this https://stackoverflow.com/questions/68424152/invalid-k8s-resource-and-provider-for-encryption-upon-creating-eks-cluster

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"}}]' \
--region VALID_AWS_REGION

Prasun
質問済み 3年前276ビュー
1回答
0

it worked after making a configuration correction

Resources:

  • secrets

Please see https://stackoverflow.com/a/68460964/2159867 for details.

Prasun
回答済み 3年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ