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

Update examples to Command provider 1.0 #1654

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

thomas11
Copy link
Contributor

@thomas11 thomas11 commented Jun 27, 2024

This PR updates all examples that use the Command provider to use 1.0-beta.1 1.0.0.

Note on Java: there are no Command-related changes but the example doesn't compile with the source version set to less than 15 so I fixed that.

@thomas11 thomas11 requested review from lukehoban, cnunciato and a team June 27, 2024 13:00
classic-azure-ts-vm-provisioners/index.ts Outdated Show resolved Hide resolved
"@pulumi/azure": "^4.0.0",
"@pulumi/command": "^0.0.3",
"@pulumi/azure": "^5.0.0",
"@pulumi/command": "1.0.0-beta.1",
Copy link
Member

Choose a reason for hiding this comment

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

Looks like this example may not be covered by tests in misc/tests? Is it worth adding it there to make sure these changes work and that we don’t regress in the future?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's a good catch. Unfortunately, it needs some setup to provide an SSH key pair. In AWS, we have ec2.CreateKeyPair but I can't see an equivalent in Azure. We could probably generate a pair locally and store it as a GH secret but I don't have the rights to do so in p/examples - will work with @cnunciato.

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.

None yet

2 participants