EKS: EncryptionConfig should be an empty list by default (#4986)
This commit is contained in:
parent
cf2690ca1e
commit
c57db140f8
@ -113,7 +113,7 @@ class Cluster:
|
||||
encryption_config=None,
|
||||
):
|
||||
if encryption_config is None:
|
||||
encryption_config = dict()
|
||||
encryption_config = []
|
||||
if tags is None:
|
||||
tags = dict()
|
||||
|
||||
|
@ -75,6 +75,7 @@ TestAccAWSEcrRepositoryPolicy
|
||||
TestAccAWSEFSAccessPoint
|
||||
TestAccAWSEFSMountTarget
|
||||
TestAccAWSEgressOnlyInternetGateway
|
||||
TestAccAWSEksClusterDataSource
|
||||
TestAccAWSElasticBeanstalkSolutionStackDataSource
|
||||
TestAccAWSELBAttachment
|
||||
TestAccAWSElbHostedZoneId
|
||||
|
@ -176,6 +176,7 @@ class ClusterAttributes:
|
||||
ISSUER = "issuer"
|
||||
NAME = "name"
|
||||
OIDC = "oidc"
|
||||
ENCRYPTION_CONFIG = "encryptionConfig"
|
||||
|
||||
|
||||
class FargateProfileAttributes:
|
||||
|
@ -274,6 +274,7 @@ def test_eks_describe_existing_cluster(test_client, create_cluster):
|
||||
|
||||
response.status_code.should.equal(StatusCodes.OK)
|
||||
result_data[ClusterAttributes.NAME].should.equal(TestCluster.cluster_name)
|
||||
result_data[ClusterAttributes.ENCRYPTION_CONFIG].should.equal([])
|
||||
all_arn_values_should_be_valid(
|
||||
expected_arn_values=TestCluster.expected_arn_values,
|
||||
pattern=RegExTemplates.CLUSTER_ARN,
|
||||
|
Loading…
Reference in New Issue
Block a user