generated from pulumi/pulumi-tf-provider-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from lbrlabs/explicit_provider_test
- Loading branch information
Showing
2,224 changed files
with
220 additions
and
348,075 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,6 @@ provider/**/schema-embed.json | |
**/version.txt | ||
**/nuget | ||
**/dist | ||
|
||
**/__pycache__ | ||
**/venv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.pyc | ||
venv/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
name: python_explicit_provider | ||
runtime: | ||
name: python | ||
options: | ||
virtualenv: venv | ||
description: A minimal Python Pulumi program |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
"""A Python Pulumi program""" | ||
|
||
import pulumi | ||
import pulumi_random as random | ||
import lbrlabs_pulumi_grafana as grafana | ||
|
||
|
||
service_account = grafana.ServiceAccount( | ||
"ci-testing", | ||
role="Admin" | ||
) | ||
|
||
service_account_token = grafana.ServiceAccountToken( | ||
"ci-testing", | ||
service_account_id = service_account.id, | ||
seconds_to_live = 600, | ||
) | ||
|
||
provider = grafana.Provider( | ||
"ci-testing", | ||
auth=service_account_token.key, | ||
) | ||
|
||
folder_name = random.RandomString( | ||
"example", | ||
length=10, | ||
) | ||
|
||
folder = grafana.Folder( | ||
"example", | ||
title=folder_name.result, | ||
) | ||
|
Binary file modified
BIN
+395 Bytes
(160%)
examples/python/explicit_provider/__pycache__/__main__.cpython-311.pyc
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
pulumi>=3.0.0,<4.0.0 | ||
pulumi-random>=4.0.0,<5.0.0 |
11 changes: 0 additions & 11 deletions
11
..._provider/venv/lib/python3.11/site-packages/Arpeggio-2.0.0.dist-info/AUTHORS.md
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...on/explicit_provider/venv/lib/python3.11/site-packages/Arpeggio-2.0.0.dist-info/INSTALLER
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
...thon/explicit_provider/venv/lib/python3.11/site-packages/Arpeggio-2.0.0.dist-info/LICENSE
This file was deleted.
Oops, something went wrong.
56 changes: 0 additions & 56 deletions
56
...hon/explicit_provider/venv/lib/python3.11/site-packages/Arpeggio-2.0.0.dist-info/METADATA
This file was deleted.
Oops, something went wrong.
103 changes: 0 additions & 103 deletions
103
...ython/explicit_provider/venv/lib/python3.11/site-packages/Arpeggio-2.0.0.dist-info/RECORD
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...python/explicit_provider/venv/lib/python3.11/site-packages/Arpeggio-2.0.0.dist-info/WHEEL
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...xplicit_provider/venv/lib/python3.11/site-packages/Arpeggio-2.0.0.dist-info/top_level.txt
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...python/explicit_provider/venv/lib/python3.11/site-packages/PyYAML-6.0.dist-info/INSTALLER
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
...s/python/explicit_provider/venv/lib/python3.11/site-packages/PyYAML-6.0.dist-info/LICENSE
This file was deleted.
Oops, something went wrong.
46 changes: 0 additions & 46 deletions
46
.../python/explicit_provider/venv/lib/python3.11/site-packages/PyYAML-6.0.dist-info/METADATA
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.