Skip to content

ec2 transitgateway code-gen problem zz_conversions.go #957

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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
haarchri opened this issue Sep 15, 2021 · 8 comments
Closed

ec2 transitgateway code-gen problem zz_conversions.go #957

haarchri opened this issue Sep 15, 2021 · 8 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@haarchri
Copy link

haarchri commented Sep 15, 2021

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

@haarchri haarchri added the kind/bug Categorizes issue or PR as related to a bug. label Sep 15, 2021
@ack-bot
Copy link
Collaborator

ack-bot commented Dec 14, 2021

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/aws-controllers-k8s/community.
/lifecycle stale

@ack-bot ack-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 14, 2021
@a-hilaly
Copy link
Member

@haarchri
Copy link
Author

@a-hilaly we skip the fields in generator-config - in general i think we have a problem with 4 fields:
https://github.com/haarchri/provider-aws/blob/ec2-transitgateway/apis/ec2/v1alpha1/generator-config.yaml#L86-L89

@a-hilaly
Copy link
Member

/remove-lifecycle stale

@ack-bot ack-bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 14, 2021
@ack-bot
Copy link
Collaborator

ack-bot commented Mar 14, 2022

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/aws-controllers-k8s/community.
/lifecycle stale

@ack-bot ack-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 14, 2022
@a-hilaly
Copy link
Member

@haarchri are you still experiencing this issue?

@ack-bot
Copy link
Collaborator

ack-bot commented Apr 13, 2022

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/aws-controllers-k8s/community.
/lifecycle rotten

@ack-bot ack-bot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Apr 13, 2022
@vijtrip2
Copy link
Contributor

Please reopen if this still blocks you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

4 participants