Skip to content

ec2 transitgateway code-gen problem zz_conversions.go #957

Closed
@haarchri

Description

@haarchri

faced some problem in ec2 transitgateway during code-gen in crossplane project crossplane-contrib/provider-aws#831 in func GenerateModifyTransitGatewayInput

https://github.com/haarchri/provider-aws/blob/ec2-transitgateway/pkg/controller/ec2/transitgateway/zz_conversions.go#L209-L272

wrong:
cr.Spec.ForProvider.Options.AddTransitGatewayCIDRBlocks
cr.Spec.ForProvider.Options.AssociationDefaultRouteTableID
cr.Spec.ForProvider.Options.PropagationDefaultRouteTableID
cr.Spec.ForProvider.Options.RemoveTransitGatewayCIDRBlocks

correct:
cr.Spec.ForProvider.Options.TransitGatewayCIDRBlocks
cr.Spec.ForProvider.Options.DefaultRouteTableAssociation
cr.Spec.ForProvider.Options.DefaultRouteTablePropagation
cr.Spec.ForProvider.Options.TransitGatewayCIDRBlocks

crossplane-contrib/provider-aws#831
#489

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions