Wordle Pulumi Provider
Play Wordle while writing infrastructure as code. If you're working from an office, your boss won't even know that you aren't deploying state of the art cloud managed NAT gateways!
Every day the game resets, and the word list should be the same as the original Wordle's. But unlike the real Wordle this one gives you unlimited retries, just like deploying real infrastructure.
How to use
You will need Pulumi 3.24.1 or greater, check which version you have via pulumi version or get
Pulumi for your platform.
TypeScript/JavaScript via npm: @frielforreal/pulumi-wordle
Python via Pypi: pulumi-wordle
Go: github.com/aaronfriel/pulumi/sdk/go/wordle
C#/.NET via Nuget: Pulumi.Wordle
Example
An example of using the single resource defined in this example is in examples/ts.
import * as wordle from "@frielforreal/pulumi-wordle";
const random = new wordle.Wordle("wordle", { word: "raise" });
$ PATH=../../bin/:$PATH pulumi up --skip-preview
Please choose a stack, or create a new one: dev
Updating (dev)
View Live: https://app.pulumi.com/friel/ts/dev/updates/3
Type Name Status Info
pulumi:pulumi:Stack simple-dev 2 warnings
~ └─ wordle:index:Wordle wordle updated [diff: ~word]
Outputs:
~ output: [
[0]: "🟫🟩🟩🟨🟫"
[1]: "🟫🟩🟩🟩🟩"
+ [2]: "🟩🟩🟩🟩🟩"
]
Resources:
~ 1 updated
1 unchanged
Duration: 2s
Build and Test
# build and install the resource provider plugin
$ make ensure build install
# test
$ cd examples/simple
$ yarn link @frielforreal/pulumi-wordle
$ yarn install
$ pulumi stack init test
$ PATH=../../bin:$PATH pulumi up
References
Other resources for learning about the Pulumi resource model:
Release files for pulumi-wordle 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pulumi_wordle-0.3.2.tar.gz | 6.8 kB | Details |
Release files / pulumi_wordle-0.3.2.tar.gz
| Download URL | pulumi_wordle-0.3.2.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
502d0a85c87607f242c221b45b038f15fc8db56b2c3252ebdd51aab01f5dc424
|
|
BLAKE2b-256 checksum How to use checksums |
9625035848f837a376794e37d8b6966faf909d67cbfbc369ced3fc45549a4641
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.12
|