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

Merged
merged 6 commits into from
Jul 2, 2024
Merged

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 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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Filed #1658 so we don't lose track of it and I can merge this PR.

@thomas11 thomas11 force-pushed the tkappler/command-1.0 branch 2 times, most recently from 4d2a30c to 67ed7bd Compare July 2, 2024 11:50
@thomas11 thomas11 merged commit aaacef9 into master Jul 2, 2024
49 of 51 checks passed
@thomas11 thomas11 deleted the tkappler/command-1.0 branch July 2, 2024 13:18
@mjeffryes mjeffryes added this to the 0.107 milestone Jul 24, 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.

None yet

3 participants