Skip to content
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

[WIP] Alternative approach for native providers #1268

Closed
wants to merge 1 commit into from

Conversation

blampe
Copy link
Contributor

@blampe blampe commented Jan 4, 2025

This is an alternative to #1140, on top of #1217.

Instead of forking the bridged template -- which will inevitably cause the kind of drift we want to avoid -- this adds a new parameter to the bridged template to disable bridge-specific things like make upgrade, etc.

I don't know if this is even feasible. I do like that it ships a Makefile to the native provider. A couple targets are no-op'd, some CI workflows are omitted, and instead of invoking tfgen we invoke the provider's gen binary. This means the manual part of onboarding native providers will probably look more like getting the codegen binaries to be invoked more like tfgen.

There are still references to tfgen/upstream/etc. but this is cosmetic. I think this is worth exploring more as it might make onboarding easier.

@blampe blampe requested a review from danielrbradley January 4, 2025 07:08
@t0yv0
Copy link
Member

t0yv0 commented Jan 8, 2025

I would like to try this for awsx to fix #1191 to see what the issues would be.

github-merge-queue bot pushed a commit that referenced this pull request Jan 13, 2025
This is #1268 without the
sharding. This should be safe as it is not affecting any providers per
se yet, just building up a capability.

---------

Co-authored-by: Florian Stadler <[email protected]>
@t0yv0
Copy link
Member

t0yv0 commented Jan 15, 2025

We've essentially mainlined this piecemeal with @rquitales and used to onboard AWSX, with aws-apigateway and EKS coming next.

@t0yv0 t0yv0 closed this Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants