Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.
This repository was archived by the owner on Dec 10, 2025. It is now read-only.

Remove custom mappings for resources that are supported by Cloud Control API #554

Description

@xiehan

Description

In #547 we did another update of the list of resources supported by Cloud Control. Many of the ones added in this update already had custom mappings in https://github.com/hashicorp/cdktf-aws-cdk/tree/main/src/mapping. For now, the custom mappings will continue to take precedence over the CC implementation. We decided to keep it this way at least for this release because removing a mapping and having it be handled by CC would cause somebody's resource to be destroyed and recreated, which would be a pretty dramatic breaking change for existing users of this adapter.

We do, however, need to rip off the bandaid at some point and remove these custom mappings. My proposal is to do so before the GA release of this adapter.

Custom mappings that can/should be removed as of November 2023:

  • AWS::EC2::VPC
  • AWS::EC2::Subnet
  • AWS::EC2::Route
  • AWS::EC2::RouteTable
  • AWS::EC2::VPCGatewayAttachment
  • AWS::ElasticLoadBalancingV2::LoadBalancer
  • AWS::Events::Rule
  • AWS::IAM::Role

References

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogbreaking-changeAn issue or PR that involves a breaking change.cloudcontrolIssues related to CloudControl resources and manual mappingsenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions