Remove custom mappings for resources that are supported by Cloud Control API #554
Labels
backlog
breaking-change
An issue or PR that involves a breaking change.
cloudcontrol
Issues related to CloudControl resources and manual mappings
enhancement
New feature or request
Milestone
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
The text was updated successfully, but these errors were encountered: