Initial commit
This commit is contained in:
2
examples/python/.gitignore
vendored
Normal file
2
examples/python/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
*.pyc
|
||||
venv/
|
||||
6
examples/python/Pulumi.yaml
Normal file
6
examples/python/Pulumi.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
name: provider-xyz-native
|
||||
runtime: python
|
||||
plugins:
|
||||
providers:
|
||||
- name: xyz
|
||||
path: ../../bin
|
||||
7
examples/python/__main__.py
Normal file
7
examples/python/__main__.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import pulumi
|
||||
import pulumi_xyz as xyz
|
||||
|
||||
my_random_resource = xyz.Random("myRandomResource", length=24)
|
||||
pulumi.export("output", {
|
||||
"value": my_random_resource.result,
|
||||
})
|
||||
2
examples/python/requirements.txt
Normal file
2
examples/python/requirements.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
pulumi>=3.0.0,<4.0.0
|
||||
pulumi-xyz==0.0.1-alpha.1699945013+97b0e04c
|
||||
Reference in New Issue
Block a user