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

generate examples and docs from Pulumi.yaml files #96

Merged
merged 16 commits into from
Jul 16, 2024

Conversation

ocobles
Copy link
Contributor

@ocobles ocobles commented Jun 7, 2024

refactor generate.sh script to automatically generate examples in all languages and the examples that are included in the documentation (docs folder) using the examples from the upstream terraform provider.

Although the Terraform Bridge plugin has the ability to generate the examples that are included in the terraform documentation, this way we have greater control because many of them fail and need to be modified. In addition, this way the code is also generated in the examples folder that can be used as a templates for the pulumi new command by passing the full URL of the path that contains a Pulumi.yaml

@ocobles ocobles marked this pull request as draft June 7, 2024 19:32
@ocobles ocobles force-pushed the generate-example-and-docs branch from 28dae16 to 1c2facb Compare July 2, 2024 15:17
Copy link

github-actions bot commented Jul 2, 2024

Does the PR have any schema changes?

Does the PR have any schema changes?

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

Maintainer note: consult the runbook for dealing with any breaking changes.

@ocobles ocobles force-pushed the generate-example-and-docs branch 2 times, most recently from 635eca1 to 15524c2 Compare July 12, 2024 15:18
@ocobles ocobles force-pushed the generate-example-and-docs branch from 15524c2 to a043f39 Compare July 12, 2024 15:18
@ocobles ocobles marked this pull request as ready for review July 12, 2024 15:55
@displague displague requested a review from srushti-patl July 12, 2024 16:24
@ocobles
Copy link
Contributor Author

ocobles commented Jul 15, 2024

ready for review

@ocobles ocobles merged commit 410b290 into main Jul 16, 2024
14 checks passed
@ocobles ocobles deleted the generate-example-and-docs branch July 16, 2024 12:55
ocobles pushed a commit that referenced this pull request Jul 16, 2024
ocobles pushed a commit that referenced this pull request Jul 16, 2024
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