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

Remove cluster provider from schema #746

Merged
merged 4 commits into from
Jul 25, 2022
Merged

Conversation

jaxxstorm
Copy link
Contributor

fixes #602

@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

@viveklak
Copy link
Contributor

I believe we also want to nuke it from the schema which should drop it from the sdk at the least: https://github.com/pulumi/pulumi-eks/blob/master/provider/cmd/pulumi-gen-eks/main.go#L164-L166

@jaxxstorm jaxxstorm changed the title make cluster provider private Remove cluster provider from schema Jul 21, 2022
@jaxxstorm
Copy link
Contributor Author

@viveklak I actually think nuking it from the schema is a better way, so I went ahead and did that

@github-actions
Copy link

Does the PR have any schema changes?

Found 1 breaking change:
Resource "eks:index:Cluster" missing output "provider"
No new resources/functions.

@stack72
Copy link
Contributor

stack72 commented Jul 25, 2022

This is only a break in non-TS providers

@stack72 stack72 merged commit e11995e into master Jul 25, 2022
@stack72 stack72 deleted the jaxxstorm/remove_provider branch July 25, 2022 19:30
@@ -1,5 +1,6 @@
## Unreleased
(None)
- Remove cluster provider from schema
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we need a bit more explanation for the result of the change? Something along the lines of:

Suggested change
- Remove cluster provider from schema
- Due to https://github.com/pulumi/pulumi/issues/7012 including the provider in the generated SDK never really worked. This is removed now. Note - existing uses in Nodejs should not be affected.

@lukehoban
Copy link
Contributor

This is a breaking change - right? Building on @viveklak's comment - probably worth adding to the CHANGELOG at least here.

@stack72
Copy link
Contributor

stack72 commented Jul 25, 2022

This is a breaking change - right? Building on @viveklak's comment - probably worth adding to the CHANGELOG at least here.

This is breaking for non-TS SDKs - but the code never actually worked in those providers which is why we chose to take it on - I will make sure we prefix this as a breaking change

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.

Remove provider from cluster result
4 participants