Describe the bug
Towards the end of a FargateCluster deployment, several resources fail to create, resulting in a rollback/delete.
Expected Behavior
I expect the cluster to be created smoothly, as I believe it is supported in this region and has successfully deployed on us-east-1 with the same configuration.
Current Behavior
When creating a resource with a logical ID k8sclusterCoreDnsComputeTypePatch2EEF5C89, it fails with the following status reason:
CloudFormation did not receive a response from your Custom Resource. Please check your logs for requestId [4af278ec-eb20-4abc-8d38-4e76661d6112]. If you are using the Python cfn-response module, you may need to update your Lambda function code so that CloudFormation can attach the updated version.
Create for the last remaining necessary resources also fails because this one fails.
Reproduction Steps
Cluster creation code:
cluster = eks.FargateCluster(
self,
"k8s-cluster",
cluster_name=f"k8s-{stage_name}",
version=eks.KubernetesVersion.V1_26,
vpc=self.vpc,
vpc_subnets=[subnet_selection],
cluster_logging=[
eks.ClusterLoggingTypes.API,
eks.ClusterLoggingTypes.AUTHENTICATOR,
eks.ClusterLoggingTypes.SCHEDULER,
],
kubectl_layer=lambda_layer_kubectl_v26.KubectlV26Layer(
self, "kubectl-v26-layer"
),
masters_role=masters_role,
)
Possible Solution
Possibly trying to apply a patch that requires Global internet access, but needs to use a mirror in China? Other than that, not sure why something in China would fail.
Additional Information/Context
No response
CDK CLI Version
2.86.0
Framework Version
No response
Node.js Version
18.30
OS
Mac OS X
Language
Python
Language Version
3.9.15
Other information
No response
Describe the bug
Towards the end of a FargateCluster deployment, several resources fail to create, resulting in a rollback/delete.
Expected Behavior
I expect the cluster to be created smoothly, as I believe it is supported in this region and has successfully deployed on
us-east-1with the same configuration.Current Behavior
When creating a resource with a logical ID
k8sclusterCoreDnsComputeTypePatch2EEF5C89, it fails with the following status reason:Create for the last remaining necessary resources also fails because this one fails.
Reproduction Steps
Cluster creation code:
Possible Solution
Possibly trying to apply a patch that requires Global internet access, but needs to use a mirror in China? Other than that, not sure why something in China would fail.
Additional Information/Context
No response
CDK CLI Version
2.86.0
Framework Version
No response
Node.js Version
18.30
OS
Mac OS X
Language
Python
Language Version
3.9.15
Other information
No response