You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Remove the URL shortener example which uses the defuct Pulumi Cloud
Framework.
- Update the README to remove refs to all cloud examples (many of which
were already since deleted)
- Fix some linting issues with the README
Copy file name to clipboardExpand all lines: README.md
+28-59Lines changed: 28 additions & 59 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,16 +27,17 @@ Pulumi is open source under the [Apache 2.0 license](https://github.com/pulumi/p
27
27
This repository contains examples of using Pulumi to build and deploy cloud applications and infrastructure across major programming languages.
28
28
29
29
Each example has a two-part prefix, `<cloud>-<language>`, to indicate which `<cloud>` and `<language>` it pertains to. For example, `<cloud>` could be:
30
-
-`aws` for [Amazon Web Services](https://github.com/pulumi/pulumi-aws)
31
-
-`azure` for [Microsoft Azure](https://github.com/pulumi/pulumi-azure)
32
-
-`gcp` for [Google Cloud Platform](https://github.com/pulumi/pulumi-gcp)
33
-
-`kubernetes` for [Kubernetes](https://github.com/pulumi/pulumi-kubernetes)
34
-
30
+
31
+
-`aws` for [Amazon Web Services](https://github.com/pulumi/pulumi-aws)
32
+
-`azure` for [Microsoft Azure](https://github.com/pulumi/pulumi-azure)
33
+
-`gcp` for [Google Cloud Platform](https://github.com/pulumi/pulumi-gcp)
34
+
-`kubernetes` for [Kubernetes](https://github.com/pulumi/pulumi-kubernetes)
35
+
35
36
See the [Pulumi documentation](https://www.pulumi.com/docs/?utm_campaign=pulumi-examples-github-repo&utm_source=github.com&utm_medium=pulumi-examples) for more details on getting started with Pulumi.
36
37
37
38
## Checking out a single example
38
39
39
-
You can checkout only the example(s) you want by using a [sparse checkout](https://git-scm.com/docs/git-sparse-checkout). The following commands show how checkout only the `aws-go-fargate` example. Replace `aws-go-fargate` with your example of interest.
40
+
You can checkout only the example(s) you want by using a [sparse checkout](https://git-scm.com/docs/git-sparse-checkout). The following commands show how checkout only the `aws-go-fargate` example. Replace `aws-go-fargate` with your example of interest.
40
41
41
42
```bash
42
43
$ mkdir examples &&cd examples
@@ -69,33 +70,32 @@ The script assumes you have credentials for various providers configured. Exampl
69
70
## All Pulumi examples
70
71
71
72
-[AWS](#aws)
72
-
-[TypeScript](#typescript)
73
-
-[JavaScript](#javascript)
74
-
-[Python](#python)
75
-
-[Go](#go)
76
-
-[C#](#c)
77
-
-[F#](#f)
73
+
-[TypeScript](#typescript)
74
+
-[JavaScript](#javascript)
75
+
-[Python](#python)
76
+
-[Go](#go)
77
+
-[C#](#c)
78
+
-[F#](#f)
78
79
-[Azure](#azure)
79
-
-[TypeScript](#typescript-1)
80
-
-[Python](#python-1)
81
-
-[Go](#go-1)
82
-
-[C#](#c-1)
83
-
-[F#](#f-1)
80
+
-[TypeScript](#typescript-1)
81
+
-[Python](#python-1)
82
+
-[Go](#go-1)
83
+
-[C#](#c-1)
84
+
-[F#](#f-1)
84
85
-[GCP](#gcp)
85
-
-[TypeScript](#typescript-2)
86
-
-[JavaScript](#javascript-1)
87
-
-[Python](#python-2)
88
-
-[Go](#go-2)
89
-
-[C#](#c-2)
86
+
-[TypeScript](#typescript-2)
87
+
-[JavaScript](#javascript-1)
88
+
-[Python](#python-2)
89
+
-[Go](#go-2)
90
+
-[C#](#c-2)
90
91
-[Kubernetes](#kubernetes)
91
-
-[TypeScript](#typescript-3)
92
-
-[JavaScript](#javascript-2)
93
-
-[Python](#python-3)
94
-
-[Go](#go-3)
95
-
-[C#](#c-3)
92
+
-[TypeScript](#typescript-3)
93
+
-[JavaScript](#javascript-2)
94
+
-[Python](#python-3)
95
+
-[Go](#go-3)
96
+
-[C#](#c-3)
96
97
-[Openstack](#openstack)
97
98
-[OVHCloud](#ovhcloud)
98
-
-[Cloud](#cloud)
99
99
-[DigitalOcean](#digitalocean)
100
100
-[Multicloud](#multicloud)
101
101
-[F5](#f5)
@@ -140,7 +140,6 @@ Example | Description |
140
140
[Step Functions](aws-ts-stepfunctions) | Use Step Functions with a Lambda function.
141
141
[Thumbnailer](aws-ts-thumbnailer) | Create a video thumbnail extractor using serverless functions and containers.
142
142
[Twitter](aws-ts-twitter-athena) | Query Twitter every 2 minutes, store the results in S3, and set up an Athena table and query.
143
-
[URL Shortener](aws-ts-url-shortener-cache-http) | Create a serverless URL shortener that uses high-level components.
144
143
[Voting App](aws-ts-voting-app) | Create a simple voting app using Redis and Python Flask.
145
144
[Web Server](aws-ts-webserver) | Deploy an EC2 Virtual machine using TypeScript to run a Python web server.
146
145
[Web Server with Manual Provisioning](aws-ts-ec2-provisioners) | Use Pulumi dynamic providers to accomplish post-provisioning configuration steps.
@@ -447,36 +446,6 @@ Example | Description |
447
446
448
447
[Use Pulumi AI](https://www.pulumi.com/ai/?utm_campaign=pulumi-examples-github-repo&utm_source=github.com&utm_medium=pulumi-examples) to build a new example in _any_ language.
449
448
450
-
## Cloud
451
-
452
-
### TypeScript
453
-
454
-
[🔝 Back to the list](#all-pulumi-examples)
455
-
456
-
Example | Description |
457
-
--------- | --------- |
458
-
[URL Shortener - Cache and HttpServer](cloud-ts-url-shortener-cache-http) | Create a simple URL shortener SPA that uses the high-level `cloud.Table` and `cloud.HttpServer` components.
459
-
[URL Shortener - Cache](cloud-ts-url-shortener-cache) | Create a simple URL shortener SPA that uses the high-level `cloud.Table` and `cloud.API` components.
460
-
[URL Shortener](cloud-ts-url-shortener) | Create a complete URL shortener web application that uses the high-level `cloud.Table` and `cloud.HttpServer` components.
461
-
[Voting App](cloud-ts-voting-app) | Create a simple voting app using Redis and Python Flask.
462
-
463
-
[Use Pulumi AI](https://www.pulumi.com/ai/?utm_campaign=pulumi-examples-github-repo&utm_source=github.com&utm_medium=pulumi-examples) to build a new example in _any_ language.
464
-
465
-
### JavaScript
466
-
467
-
[🔝 Back to the list](#all-pulumi-examples)
468
-
469
-
Example | Description |
470
-
--------- | --------- |
471
-
[API on AWS](cloud-js-api) | Create a simple REST API that counts the number of times a route has been hit.
472
-
[Containers](cloud-js-containers) | Provision containers on Fargate.
473
-
[HttpServer](cloud-js-httpserver) | Create a simple REST API that counts the number of times a route has been hit.
474
-
[Thumbnailer - Machine Learning](cloud-js-thumbnailer-machine-learning) | Create a video thumbnail extractor using serverless functions, containers, and AWS Rekognition.
475
-
[Thumbnailer](cloud-js-thumbnailer) | Create a video thumbnail extractor using serverless functions and containers.
476
-
[Twitter](cloud-js-twitter-athena) | Query Twitter every 2 minutes, store the results in S3, and set up an Athena table and query.
477
-
478
-
[Use Pulumi AI](https://www.pulumi.com/ai/?utm_campaign=pulumi-examples-github-repo&utm_source=github.com&utm_medium=pulumi-examples) to build a new example in _any_ language.
Copy file name to clipboardExpand all lines: aws-ts-serverless-raw/README.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,10 @@
1
1
[](https://app.pulumi.com/new?template=https://github.com/pulumi/examples/blob/master/aws-ts-serverless-raw/README.md#gh-light-mode-only)
2
2
[](https://app.pulumi.com/new?template=https://github.com/pulumi/examples/blob/master/aws-ts-serverless-raw/README.md#gh-dark-mode-only)
3
3
4
-
# Serverless C# App
4
+
# Serverless TypeScript App
5
5
6
-
This example deploys a complete serverless C# application using raw `aws.apigateway.RestAPI`, `aws.lambda.Function` and
7
-
`aws.dynamodb.Table` resources from `@pulumi/aws`. Although this doesn't feature any of the higher-level abstractions
8
-
from the `@pulumi/cloud` package, it demonstrates that you can program the raw resources directly available in AWS
9
-
to accomplish all of the same things this higher-level package offers.
6
+
This example deploys a complete serverless TypeScript application using raw `aws.apigateway.RestAPI`, `aws.lambda.Function` and
7
+
`aws.dynamodb.Table` resources from `@pulumi/aws`. It demonstrates how to program AWS resources directly to build serverless applications.
10
8
11
9
The deployed Lambda function is a simple C# application, highlighting the ability to manage existing application code
12
10
in a Pulumi application, even if your Pulumi code is written in a different language like JavaScript or Python.
0 commit comments