Commit 4343550
Luke Hoban
Add
Use the automatically managed `virtualenv: venv` support in all Python examples.
See https://www.pulumi.com/docs/intro/languages/python/#virtual-environments.
Also update the READMEs to no longer mention needing to manually create the virtual environment. The Pulumi CLI, as of v2.15.1, will automatically create & install dependencies in a virtual environment if the `virtualenv` runtime option is set in `Pulumi.yaml` and the configured directory is empty or doesn't exist.virtualenv option to Python examples (pulumi#885)1 parent 327afe3 commit 4343550
File tree
95 files changed
+237
-579
lines changed- aws-django-voting-app
- aws-py-appsync
- aws-py-assume-role
- assume-role
- create-role
- aws-py-dynamicresource
- aws-py-ec2-provisioners
- aws-py-eks
- aws-py-fargate
- aws-py-resources
- aws-py-s3-folder
- aws-py-serverless-raw
- aws-py-stackreference
- company
- department
- team
- aws-py-static-website
- aws-py-stepfunctions
- aws-py-voting-app
- aws-py-webserver
- aws-py-wordpress-fargate-rds
- aws-ts-vpc-with-ecs-fargate-py/ecs-fargate-python
- azure-nextgen-py-aci
- azure-nextgen-py-aks
- azure-nextgen-py-appservice-docker
- azure-nextgen-py-minecraft-server
- azure-nextgen-py-synapse
- azure-nextgen-py-virtual-data-center
- azure-nextgen-py-webserver
- azure-py-aks-multicluster
- azure-py-aks
- azure-py-appservice-docker
- azure-py-appservice
- azure-py-arm-template
- azure-py-functions-raw
- azure-py-hdinsight-spark
- azure-py-msi-keyvault-rbac
- azure-py-virtual-data-center
- azure-py-vm-scaleset
- azure-py-webserver-component
- azure-py-webserver
- digitalocean-py-k8s
- digitalocean-py-loadbalanced-droplets
- equinix-metal-py-webserver
- gcp-py-cloudrun-cloudsql
- gcp-py-functions
- gcp-py-gke
- gcp-py-instance-nginx
- gcp-py-network-component
- gcp-py-serverless-raw
- gcp-py-webserver
- kubernetes-py-guestbook
- components
- simple
- kubernetes-py-jenkins
- kubernetes-py-nginx
- misc/test
- packet-py-webserver
- testing-unit-py
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
95 files changed
+237
-579
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 42 | | |
53 | 43 | | |
54 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 21 | | |
33 | 22 | | |
34 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 30 | | |
40 | 31 | | |
41 | 32 | | |
| |||
70 | 61 | | |
71 | 62 | | |
72 | 63 | | |
73 | | - | |
74 | | - | |
| 64 | + | |
75 | 65 | | |
76 | 66 | | |
77 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 31 | | |
42 | 32 | | |
43 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 13 | | |
22 | 14 | | |
23 | 15 | | |
| |||
0 commit comments