(apigateway): RestApi.fromRestApiAttributes()
does not add salt to resource
#12425
Labels
@aws-cdk/aws-apigateway
Related to Amazon API Gateway
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
If the RestApi is define by RestApi.fromRestApiAttributes(), any deployment will not add salt to the deployment resource.
Reproduction Steps
This is my code.
"o4aytaotest123deploymentC642C343" is the resource name in the Cloudformation template.
What did you expect to happen?
add salt to the resource name
What actually happened?
no salt was added to the resource name
Environment
Other
!!!!!!!!!!!!!!!!
WORKAROUND: Just in case anyone ran into the same problem, you can manually add salt to the logical ID by calling deployment.addToLogicalId()
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: