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

pulumi new broken with versions of the CLI less than v3.95.0 #705

Closed
justinvp opened this issue Dec 7, 2023 · 1 comment · Fixed by #706
Closed

pulumi new broken with versions of the CLI less than v3.95.0 #705

justinvp opened this issue Dec 7, 2023 · 1 comment · Fixed by #706
Assignees
Labels
kind/bug Some behavior is incorrect or out of spec p0 A bug severe enough to interrupt existing work resolution/fixed This issue was fixed
Milestone

Comments

@justinvp
Copy link
Member

justinvp commented Dec 7, 2023

pulumi new kubernetes-python
error: could not validate '/Users/justin/.pulumi/templates/kubernetes-python/Pulumi.yaml': 1 error occurred:
	* #/template: additionalProperties 'displayName', 'metadata' not allowed

I think we need to revert #697 and figure out how we can enable the metadata for Pulumi Cloud without breaking older versions of the CLI.

@justinvp justinvp added kind/bug Some behavior is incorrect or out of spec p0 A bug severe enough to interrupt existing work labels Dec 7, 2023
@justinvp
Copy link
Member Author

justinvp commented Dec 7, 2023

Older versions of the CLI validate the project against a JSON schema that doesn't include the new fields, so that validation fails per above, which is very unfortunate.

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 p0 A bug severe enough to interrupt existing work resolution/fixed This issue was fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants