Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(route53): value is too long error for TXT records #9984

Merged
merged 4 commits into from
Aug 27, 2020

Conversation

jogold
Copy link
Contributor

@jogold jogold commented Aug 26, 2020

The solution is to split the record strings over 255 characters into
multiple text strings within the same record.

See https://aws.amazon.com/premiumsupport/knowledge-center/route53-resolve-dkim-text-record-error/

Fixes #8244


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

The solution is to split the record strings over 255 characters into
multiple text strings within the same record.

See https://aws.amazon.com/premiumsupport/knowledge-center/route53-resolve-dkim-text-record-error/

Fixes aws#8244
@shivlaks shivlaks added the pr/do-not-merge This PR should not be merged at this time. label Aug 26, 2020
shivlaks
shivlaks previously approved these changes Aug 26, 2020
Copy link
Contributor

@shivlaks shivlaks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me! just one small suggestion to add a comment

});
}
}

function formatTxt(string: string): string {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's add a comment here to capture the intent/approach to deal with the constraint - mainly for posterity
maybe also a documentation link might be handy as well

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

of course

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@mergify mergify bot dismissed shivlaks’s stale review August 26, 2020 19:04

Pull request has been modified.

@shivlaks shivlaks removed the pr/do-not-merge This PR should not be merged at this time. label Aug 26, 2020
@mergify
Copy link
Contributor

mergify bot commented Aug 27, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: 3a3553e
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Aug 27, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit fd4be21 into aws:master Aug 27, 2020
@jogold jogold deleted the route53-txt-too-long branch September 4, 2020 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for Chunks in TXT Records (Route53, DNS)
3 participants