pulumi-wordle

module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2022 License: Apache-2.0

README ΒΆ

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.

An example of using the single resource defined in this example is in examples/simple.

$ pulumi up
Please choose a stack, or create a new one: dev
Previewing update (dev)

View Live: https://app.pulumi.com/friel/simple/dev/previews/4cc0fa07-4d90-4c55-980c-e930400d11f1

     Type                    Name        Plan       Info
     pulumi:pulumi:Stack     simple-dev
 ~   └─ wordle:index:Wordle  my-random   update     [diff: ~word]

Outputs:
  ~ output: "🟫🟫🟨🟫🟫\n🟫🟫🟫🟫🟫\n" => output<string>

Resources:
    ~ 1 to update
    1 unchanged

Do you want to perform this update? yes
Updating (dev)

View Live: https://app.pulumi.com/friel/simple/dev/updates/12

     Type                    Name        Status      Info
     pulumi:pulumi:Stack     simple-dev
 ~   └─ wordle:index:Wordle  my-random   updated     [diff: ~word]

Outputs:
  ~ output: "🟫🟫🟨🟫🟫\n🟫🟫🟫🟫🟫\n" => "🟫🟫🟨🟫🟫\n🟫🟫🟫🟫🟫\n🟫🟫🟫🟫🟫\n"

Resources:
    ~ 1 updated
    1 unchanged

Duration: 2s

Build and Test

# build and install the resource provider plugin
$ make build install

# test
$ cd examples/simple
$ yarn link @frielforreal/pulumi-wordle
$ yarn install
$ pulumi stack init test
$ pulumi up

References

Other resources for learning about the Pulumi resource model:

Directories ΒΆ

Path Synopsis
sdk
go/wordle
Package wordle exports types, functions, subpackages for provisioning wordle resources.
Package wordle exports types, functions, subpackages for provisioning wordle resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL