Skip to content

Commit e2ef52d

Browse files
authored
Remove refs to Pulumi Cloud Framework (#2202)
- 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
2 parents c3262f9 + 16aa3dd commit e2ef52d

File tree

14 files changed

+32
-518
lines changed

14 files changed

+32
-518
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ Gopkg.lock
3030
.classpath
3131
target/
3232
*-test/
33+
.claude/settings.local.json

README.md

Lines changed: 28 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,17 @@ Pulumi is open source under the [Apache 2.0 license](https://github.com/pulumi/p
2727
This repository contains examples of using Pulumi to build and deploy cloud applications and infrastructure across major programming languages.
2828

2929
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+
3536
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.
3637

3738
## Checking out a single example
3839

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

4142
```bash
4243
$ mkdir examples && cd examples
@@ -69,33 +70,32 @@ The script assumes you have credentials for various providers configured. Exampl
6970
## All Pulumi examples
7071

7172
- [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)
7879
- [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)
8485
- [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)
9091
- [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)
9697
- [Openstack](#openstack)
9798
- [OVHCloud](#ovhcloud)
98-
- [Cloud](#cloud)
9999
- [DigitalOcean](#digitalocean)
100100
- [Multicloud](#multicloud)
101101
- [F5](#f5)
@@ -140,7 +140,6 @@ Example | Description |
140140
[Step Functions](aws-ts-stepfunctions) | Use Step Functions with a Lambda function.
141141
[Thumbnailer](aws-ts-thumbnailer) | Create a video thumbnail extractor using serverless functions and containers.
142142
[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.
144143
[Voting App](aws-ts-voting-app) | Create a simple voting app using Redis and Python Flask.
145144
[Web Server](aws-ts-webserver) | Deploy an EC2 Virtual machine using TypeScript to run a Python web server.
146145
[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 |
447446

448447
[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.
449448

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.
479-
480449
## DigitalOcean
481450

482451
### TypeScript

aws-ts-serverless-raw/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
[![Deploy this example with Pulumi](https://www.pulumi.com/images/deploy-with-pulumi/dark.svg)](https://app.pulumi.com/new?template=https://github.com/pulumi/examples/blob/master/aws-ts-serverless-raw/README.md#gh-light-mode-only)
22
[![Deploy this example with Pulumi](https://get.pulumi.com/new/button-light.svg)](https://app.pulumi.com/new?template=https://github.com/pulumi/examples/blob/master/aws-ts-serverless-raw/README.md#gh-dark-mode-only)
33

4-
# Serverless C# App
4+
# Serverless TypeScript App
55

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

119
The deployed Lambda function is a simple C# application, highlighting the ability to manage existing application code
1210
in a Pulumi application, even if your Pulumi code is written in a different language like JavaScript or Python.

aws-ts-url-shortener-cache-http/Pulumi.yaml

Lines changed: 0 additions & 20 deletions
This file was deleted.

aws-ts-url-shortener-cache-http/README.md

Lines changed: 0 additions & 73 deletions
This file was deleted.

aws-ts-url-shortener-cache-http/cache.ts

Lines changed: 0 additions & 70 deletions
This file was deleted.

aws-ts-url-shortener-cache-http/config.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)