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

added examples from pulumiUP #542

Merged
merged 6 commits into from
May 4, 2022
Merged

added examples from pulumiUP #542

merged 6 commits into from
May 4, 2022

Conversation

dixler
Copy link
Contributor

@dixler dixler commented May 4, 2022

Description

Fixes #476

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • Yes, there are changes in this PR that warrants bumping the Pulumi Service API version

@dixler dixler requested a review from mikhailshilkov May 4, 2022 14:29
Copy link
Contributor

@pawelprazak pawelprazak left a comment

Choose a reason for hiding this comment

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

Looks good, just a couple of hints, and also changelog is missing.

<version>3.15.1</version>
</dependency>

<dependency>
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: formatting issue, tabs vs spaces?

return;
}

public interface LambdaArgs {
Copy link
Contributor

Choose a reason for hiding this comment

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

* Creates an EKS cluster
* @param clusterPolicies
*/
public EKSStack(List<Policy> clusterPolicies) {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: could have varargs overload

Copy link
Contributor Author

Choose a reason for hiding this comment

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

true, but who knows what kinds of strange parameters are going to go into this function's constructor

public class HelloControllerIT {

@Autowired
private TestRestTemplate template;
Copy link
Contributor

Choose a reason for hiding this comment

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

formating issue

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I copy pasted this. I'm going to add a readme with attribution


public class PulumiStack {

public static void main(String[] args) {
Copy link
Contributor

Choose a reason for hiding this comment

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

formatting issue

dixler added 4 commits May 4, 2022 07:46
@dixler dixler merged commit 3925bcd into main May 4, 2022
@pulumi-bot pulumi-bot deleted the dixler/533/move-demos-5 branch May 4, 2022 15:36
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.

Add demo code to examples
2 participants