-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add two basic templates (google-native + raw kotlin) #351
base: main
Are you sure you want to change the base?
Conversation
I like them!
Looking at https://github.com/pulumi/templates/, most of them have a suffix with the language: On one hand, this doesn't really concern us, since our templates are hosted in this repository (and this repository has Other stuff:
|
|
||
dependencies { | ||
implementation("org.virtuslab:pulumi-kotlin:0.9.4.0") | ||
implementation("org.virtuslab:pulumi-google-native-kotlin:0.31.1.1") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this work? In the E2E tests I encountered an issue where I has to exclude some stuff due to a versioning conflict
pulumi-kotlin/examples/google-native-sample-project/pom.xml
Lines 21 to 43 in f01ac54
<dependencies> | |
<dependency> | |
<groupId>org.virtuslab</groupId> | |
<artifactId>pulumi-google-native-kotlin</artifactId> | |
<version>0.31.0.0-SNAPSHOT</version> | |
<exclusions> | |
<exclusion> | |
<groupId>com.pulumi</groupId> | |
<artifactId>pulumi</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
<dependency> | |
<groupId>com.pulumi</groupId> | |
<artifactId>pulumi</artifactId> | |
<version>0.9.4</version> | |
</dependency> | |
<dependency> | |
<groupId>org.jetbrains.kotlin</groupId> | |
<artifactId>kotlin-stdlib</artifactId> | |
<version>${kotlin.version}</version> | |
</dependency> | |
</dependencies> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Btw, aside from the potential dependency conflict, it shouldn't be necessary to include the core SDK explicitly, just the Google Native dependency should be fine.
Btw, I just realized another thing. Our |
Task
Resolves: #350
Description
Example usage
Now:
pulumi new https://github.com/VirtuslabRnD/pulumi-kotlin/tree/350-add-templates/templates/google-native
Once it's merged:
pulumi new https://github.com/VirtuslabRnD/pulumi-kotlin/tree/main/templates/google-native
Potentially, after moving to
VirtusLab
GH org:pulumi new https://github.com/VirtusLab/pulumi-kotlin/tree/main/templates/google-native
With "Deploy with Pulumi" button:
Source:
To do
VirtusLab
GH organizationSuggestions needed
-kotlin
? For example, which name is bettergoogle-native-kotlin
orgoogle-native
kotlin
vsbasic
vsdefault
vsempty