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

aws_cdk.aws_acmpca: Unable to use low level Cfn resources in Python - TypeError missing required keyword-only arguments #28550

Closed
u93 opened this issue Jan 2, 2024 · 1 comment
Labels
@aws-cdk/aws-acmpca Related to AWS ACM Private CA bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.

Comments

@u93
Copy link

u93 commented Jan 2, 2024

Describe the bug

Using CDK version 2.117.0 I get this error when trying to create a Private CA using Python 3.9

TypeError: __init__() missing 4 required keyword-only arguments: 'key_algorithm', 'signing_algorithm', 'subject', and 'type'

The payload and code snippet it's below...

image

Expected Behavior

Be able to create a Private CA using the low level Cfn resources when passing the necessary arguments

Current Behavior

After passing the init payload according to what's written in the documentation, I should be able to create a Private CA

Reproduction Steps

  • Install AWS CDK
  • Import aws_cdk.aws_acmpca
  • Instantiate the aws_acmpca.CfnCertificateAuthority() class

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.117.0

Framework Version

No response

Node.js Version

18.7.0

OS

MacOS Monterrey 12.6.7

Language

Python

Language Version

3.9.7

Other information

No response

@u93 u93 added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jan 2, 2024
@github-actions github-actions bot added the @aws-cdk/aws-acmpca Related to AWS ACM Private CA label Jan 2, 2024
@u93 u93 closed this as completed Jan 2, 2024
Copy link

github-actions bot commented Jan 2, 2024

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-acmpca Related to AWS ACM Private CA bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant