pulumi/pulumi-cdk

Cfn names do not map directly to @pulumi/aws-native names

Closed this issue · 1 comments

What happened?

Some resources do not map correctly to their aws-native equivalents. This occurs both on the resource itself and on the resource properties.

Example

Resource Example

  • AWS::EC2::VPC maps to aws-native:ec2:VPC instead of aws-native:ec2:Vpc

Property example

  • AWS::ECS::Service.enableECSManagedTags should map to aws-native:ecs:Service.enableEcsManagedTags

Output of pulumi about

CLI          
Version      3.116.1
Go Version   go1.22.2
Go Compiler  gc

Plugins
KIND      NAME        VERSION
resource  aws         6.37.0
resource  aws         5.43.0
resource  aws-native  0.107.0
resource  aws-native  0.18.0
resource  docker      3.6.1
language  nodejs      unknown

Host     
OS       darwin
Version  14.5
Arch     arm64

This project is written in nodejs: executable='/Users/chall/.nvm/versions/node/v18.19.1/bin/node' version='v18.19.1'

NAME                               VERSION
@pulumi/aws                        6.37.0
@pulumi/aws-native                 0.107.0
@pulumi/cdk                        0.4.0
@pulumi/pulumi                     3.116.1
aws-cdk-lib                        2.143.0

Additional context

The interop has some utilities for converting cfn names to pulumi names, but it needs to be a copy of the naming package from aws-native

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

This was fixed in #129