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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support BucketDeployment #60
Comments
@PeterWhiteCL we use the GitHub issues for enhancement requests and/or bug reports against Pulumi components. Could you clarify if this request is one of those? Is Pulumi missing support for a Bucket Deployment? |
We don鈥檛 currently have support for the custom resources BucketDeployment creates and uses. We will likely need to polyfill this with a Pulumi-native solution. In the meantime, users can polyfill themselves via use of https://github.com/pulumi/pulumi-cdk#remapcloudcontrolresource. |
@lukehoban I've been experimenting with CDK Custom Resources support this weekend. It's doable, but the Clouformation naming convention of "Custom::ExampleResource" is clashing with Pulumi's URN format. When the double colons (::) are in the Pulumi resource name, it throws an "invalid URN format". I got around this by directly changing this line from
With this change, Pulumi doesn't throw the "invalid URN" error. I realize this is just a "hack" and there's probably a better way to do it, but it's enough to confirm where the issue is. |
@robert-databooster great to hear! Yes - sounds like we鈥檒l need to escape the constructType and constructName given that CF naming requirements are different than Pulumi naming. I think the proposed transform makes sense. Can review more closely if you have a PR ready for this. |
Hello!
Issue details
This is for an article commissioned by Pulumi. I have attached a link to a repository containing the code for the project from our author.
Affected area/feature
pulumi-cdk-static.zip
The text was updated successfully, but these errors were encountered: