-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
refactor(terraform): sync funcs with Terraform #6415
Conversation
// CidrHostFunc constructs a function that calculates a full host IP address | ||
// CidrHostFunc contructs a function that calculates a full host IP address |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo? constructs
is fine as is.
return cty.UnknownVal(cty.String), fmt.Errorf("error occurred generating password %s", err.Error()) | ||
return cty.UnknownVal(cty.String), fmt.Errorf("error occured generating password %s", err.Error()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is also fine as-is
errStr = strings.ReplaceAll(e.Error(), "asn1: structure error", "invalid ASN1 data in the given private key") | ||
errStr = strings.ReplaceAll(e.Error(), "asn1: struture error", "invalid ASN1 data in the given private key") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
// Sha512Func constructs a function that computes the SHA512 hash of a given string | ||
// Sha512Func contructs a function that computes the SHA512 hash of a given string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
Description
Updated existing functions, added new ones and removed unused public methods.
Related issues
Remove this section if you don't have related PRs.
Checklist