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,
|
encryption_config=None,
|
||||||
):
|
):
|
||||||
if encryption_config is None:
|
if encryption_config is None:
|
||||||
encryption_config = dict()
|
encryption_config = []
|
||||||
if tags is None:
|
if tags is None:
|
||||||
tags = dict()
|
tags = dict()
|
||||||
|
|
||||||
|
@ -75,6 +75,7 @@ TestAccAWSEcrRepositoryPolicy
|
|||||||
TestAccAWSEFSAccessPoint
|
TestAccAWSEFSAccessPoint
|
||||||
TestAccAWSEFSMountTarget
|
TestAccAWSEFSMountTarget
|
||||||
TestAccAWSEgressOnlyInternetGateway
|
TestAccAWSEgressOnlyInternetGateway
|
||||||
|
TestAccAWSEksClusterDataSource
|
||||||
TestAccAWSElasticBeanstalkSolutionStackDataSource
|
TestAccAWSElasticBeanstalkSolutionStackDataSource
|
||||||
TestAccAWSELBAttachment
|
TestAccAWSELBAttachment
|
||||||
TestAccAWSElbHostedZoneId
|
TestAccAWSElbHostedZoneId
|
||||||
|
@ -176,6 +176,7 @@ class ClusterAttributes:
|
|||||||
ISSUER = "issuer"
|
ISSUER = "issuer"
|
||||||
NAME = "name"
|
NAME = "name"
|
||||||
OIDC = "oidc"
|
OIDC = "oidc"
|
||||||
|
ENCRYPTION_CONFIG = "encryptionConfig"
|
||||||
|
|
||||||
|
|
||||||
class FargateProfileAttributes:
|
class FargateProfileAttributes:
|
||||||
|
@ -274,6 +274,7 @@ def test_eks_describe_existing_cluster(test_client, create_cluster):
|
|||||||
|
|
||||||
response.status_code.should.equal(StatusCodes.OK)
|
response.status_code.should.equal(StatusCodes.OK)
|
||||||
result_data[ClusterAttributes.NAME].should.equal(TestCluster.cluster_name)
|
result_data[ClusterAttributes.NAME].should.equal(TestCluster.cluster_name)
|
||||||
|
result_data[ClusterAttributes.ENCRYPTION_CONFIG].should.equal([])
|
||||||
all_arn_values_should_be_valid(
|
all_arn_values_should_be_valid(
|
||||||
expected_arn_values=TestCluster.expected_arn_values,
|
expected_arn_values=TestCluster.expected_arn_values,
|
||||||
pattern=RegExTemplates.CLUSTER_ARN,
|
pattern=RegExTemplates.CLUSTER_ARN,
|
||||||
|
Loading…
Reference in New Issue
Block a user