aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap

EKS Cluster Certificate Data too long for output

Open
#1,062 4 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

### Name of the resource

AWS::EKS::Cluster

### Resource Name

n/a

### Issue Description

I have the following output section:

```yaml
Outputs:

EksClusterCertificateData:
Description: "Certificate Data for EksCluster"
Value:
Fn::GetAtt:
- "EksCluster"
- "CertificateAuthorityData"
Export:
Name:
Fn::Join:
- '-'
- - Ref: AWS::StackName
- "EksClusterCertificateData"
```

However, during the CloudFormation deployment, the following error is generated:

> Cannot export output EksClusterCertificateData with length 1424. Max length of 1024 exceeded.. Rollback requested by user.

Can the max. output length perhaps not be increased to something more reasonable for certificates?

### Expected Behavior

The certificate data should be present in the CloudFormation outputs

### Observed Behavior

During the CloudFormation deployment, the following error is generated:

> Cannot export output EksClusterCertificateData with length 1424. Max length of 1024 exceeded.. Rollback requested by user.

### Test Cases

Create any EKS cluster and try to export the certificate data in the Outputs.

### Other Details

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with an AWS::EKS::Cluster and the supplied Outputs template, then confirm how the 1,024-character export limit applies to CertificateAuthorityData. Done means the certificate data can be present in CloudFormation outputs without the reported length failure, or the limitation and supported alternative are clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.