Skip to main content

Stand up Wordle while you stand up infrastructure

Project description

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

This provider is not yet published, so you'll need to build this locally and put the bin dir on your PATH for examples to work!

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/ts
$ 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:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulumi_wordle-0.0.2a1643698223.tar.gz (6.7 kB view details)

Uploaded Source

File details

Details for the file pulumi_wordle-0.0.2a1643698223.tar.gz.

File metadata

  • Download URL: pulumi_wordle-0.0.2a1643698223.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for pulumi_wordle-0.0.2a1643698223.tar.gz
Algorithm Hash digest
SHA256 e28ed1c10790e259b3d3a41eee3df9d4cc28eb5c728808c7ce3cc834ae5b1d73
MD5 6e17d1b43acc4675576320cba5c91347
BLAKE2b-256 553b547283d9687b502ad4a3f26ed3509ce46d02e6873981ec0ffa305ca0d822

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page