CUE schemas for various infrastructure as code tools
Go to file
Hoang Nguyen c991be4740
Another code snapshot
Nothing to see here yet, except:
- Add `nogo` support. Closes #2
  (I only use the analyzers from golang.org/x/tools, so nogo right
  now is not really on par with golangci-lint)
- Remove golangci-lint
- Fill out providers.toml file (it was daunting -_-)
- Update bazel deps
2023-12-23 00:00:00 +07:00
LICENSES Initial commit 2023-12-10 00:00:00 +07:00
cue.mod Initial commit 2023-12-10 00:00:00 +07:00
examples/time Another code snapshot 2023-12-23 00:00:00 +07:00
internal Another code snapshot 2023-12-23 00:00:00 +07:00
schemata/pulumi Implement base Pulumi.yaml schema 2023-12-16 00:00:00 +07:00
tools Another code snapshot 2023-12-23 00:00:00 +07:00
.bazelrc Initial commit 2023-12-10 00:00:00 +07:00
.bazelversion Initial commit 2023-12-10 00:00:00 +07:00
.editorconfig Implement base Pulumi.yaml schema 2023-12-16 00:00:00 +07:00
.gitignore Initial commit 2023-12-10 00:00:00 +07:00
.neoconf.json Initial commit 2023-12-10 00:00:00 +07:00
.neoconf.json.license Initial commit 2023-12-10 00:00:00 +07:00
BUILD.bazel Another code snapshot 2023-12-23 00:00:00 +07:00
MODULE.bazel Another code snapshot 2023-12-23 00:00:00 +07:00
README.adoc Implement base Pulumi.yaml schema 2023-12-16 00:00:00 +07:00
flake.lock Another code snapshot 2023-12-23 00:00:00 +07:00
flake.lock.license Initial commit 2023-12-10 00:00:00 +07:00
flake.nix Another code snapshot 2023-12-23 00:00:00 +07:00
go.mod Another code snapshot 2023-12-23 00:00:00 +07:00
go.sum Another code snapshot 2023-12-23 00:00:00 +07:00
go.sum.license Implement base Pulumi.yaml schema 2023-12-16 00:00:00 +07:00
nixpkgs.nix Initial commit 2023-12-10 00:00:00 +07:00
nogo_config.json Another code snapshot 2023-12-23 00:00:00 +07:00
shell.nix Initial commit 2023-12-10 00:00:00 +07:00
treefmt.nix Another code snapshot 2023-12-23 00:00:00 +07:00

README.adoc

Cuelumi

This project generates CUE schemas for Pulumi providers, based on schema.json files published with their source code. These CUE schema files are intended to be used with Pulumis YAML language provider, when one wants to write resource definitions using CUE instead of YAML.

See examples/ directory for some use cases.

Tools

  • cue-pulumi-gen: a program to generate CUE definitions for Pulumi providers' JSON schemas inside schemata/providers/ directory

  • pulumi-schema: a simple command to conveniently print out schema.json file, given a Pulumi providers name

Schema packages

Credits

Existing projects, which inspires me to create this one: