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

boilerplate does not have a schema file #62

Open
EvanBoyle opened this issue Jun 18, 2023 · 2 comments
Open

boilerplate does not have a schema file #62

EvanBoyle opened this issue Jun 18, 2023 · 2 comments
Labels
kind/bug Some behavior is incorrect or out of spec

Comments

@EvanBoyle
Copy link

The go provider library does not require a schema as all necessary info is expressed via code. However, publishing to the Pulumi registry requires adding an entry with a pointer to the provider's schema.json file:

Not sure how to follow the docs on publishing to registry without a schema file in my provider that was generated from this boilerplate.

@EvanBoyle EvanBoyle added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Jun 18, 2023
@EvanBoyle
Copy link
Author

Not sure if there is a better way, but I went ahead and just added a make target that builds the binary, then uses pulumi package get-schema with the newly built provider binary to generate the schema:

pulumi/pulumi-auto-deploy@cbad54c

@EvanBoyle
Copy link
Author

Also needed pulumi/pulumi-auto-deploy@da12544 to remove the ever-changing version field after the schema is generated.

@AaronFriel AaronFriel removed the needs-triage Needs attention from the triage team label Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Some behavior is incorrect or out of spec
Projects
None yet
Development

No branches or pull requests

2 participants