0.13.21 • Published 1 month ago

@storm-software/pulumi-tools v0.13.21

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 month ago

Version Nx NextJs Commitizen friendly Semantic-Release documented with Fumadocs GitHub Workflow Status (with event)

!IMPORTANT This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be available through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.

Table of Contents

Storm Pulumi Tools

A package containing tools and base classes for the Pulumi Infrastructure as Code package to be used in a Storm workspace. It includes various Nx generators and executors for common development tasks.

This library was generated with Nx.

Installing

Using pnpm:

pnpm add -D @storm-software/pulumi-tools
npm install -D @storm-software/pulumi-tools
yarn add -D @storm-software/pulumi-tools

Executors

The following executors are available in this package to invoke common tasks for the workspace's projects:

Pulumi config Command Executor

Run the `config` command using the workspaces Pulumi IoC CLI

Example

This executor can be used by executing the following in a command line utility:

nx run my-project:config

Please note: The config executor should be included in the desired projects's project.json file.All required options must be included in the options property of the json.

Options

The following executor options are available:

OptionTypeDescriptionDefault
stackstringThe target stack to use, if specified.
rootstringThe working directory to run Pulumi commands from, if specified.
action *string
pathboolean
secretboolean
namestring
valuestring

Please note: Option names followed by * above are required, and must be provided to run the executor.

Pulumi import Command Executor

Run the `import` command using the workspaces Pulumi IoC CLI

Example

This executor can be used by executing the following in a command line utility:

nx run my-project:import

Please note: The import executor should be included in the desired projects's project.json file.All required options must be included in the options property of the json.

Options

The following executor options are available:

OptionTypeDescriptionDefault
stackstringThe target stack to use, if specified.
rootstringThe working directory to run Pulumi commands from, if specified.
target *string
namestring
id *string

Please note: Option names followed by * above are required, and must be provided to run the executor.

Pulumi preview Command Executor

Run the `preview` command using the workspaces Pulumi IoC CLI

Example

This executor can be used by executing the following in a command line utility:

nx run my-project:preview

Please note: The preview executor should be included in the desired projects's project.json file.

Options

The following executor options are available:

OptionTypeDescriptionDefault
stackstringThe target stack to use, if specified.
rootstringThe working directory to run Pulumi commands from, if specified.
expectNoChangesboolean

Pulumi refresh Command Executor

Run the `refresh` command using the workspaces Pulumi IoC CLI

Example

This executor can be used by executing the following in a command line utility:

nx run my-project:refresh

Please note: The refresh executor should be included in the desired projects's project.json file.All required options must be included in the options property of the json.

Options

The following executor options are available:

OptionTypeDescriptionDefault
stackstringThe target stack to use, if specified.
rootstringThe working directory to run Pulumi commands from, if specified.
skipPreview *booleanA boolean flag to skip the preview step.
yes *booleanA boolean flag to automatically approve the refresh.

Please note: Option names followed by * above are required, and must be provided to run the executor.

Pulumi up Command Executor

Run the `up` command using the workspaces Pulumi IoC CLI

Example

This executor can be used by executing the following in a command line utility:

nx run my-project:up

Please note: The up executor should be included in the desired projects's project.json file.All required options must be included in the options property of the json.

Options

The following executor options are available:

OptionTypeDescriptionDefault
stackstringThe target stack to use, if specified.
rootstringThe working directory to run Pulumi commands from, if specified.
skipPreview *booleanA boolean flag to skip the preview step.
yes *booleanA boolean flag to automatically approve the `up` command.
suppressOutputs *booleanA boolean flag to suppress outputs in the `up` command.
json *booleanA boolean flag to output the `up` command as JSON.

Please note: Option names followed by * above are required, and must be provided to run the executor.

Generators

The following generators are available with this package to assist in workspace management:

Init Storm Pulumi Tools Plugin

Init Storm Pulumi Tools Plugin.

Options

The following executor options are available:

OptionTypeDescriptionDefault
name *string
tagsstringAdd tags to the project (used for linting)
directorystringA directory where the project is placed
providerstringYour cloud provider

Please note: Option names followed by * above are required, and must be provided to run the executor.

Building

Run nx build pulumi-tools to build the library.

Running unit tests

Run nx test pulumi-tools to execute the unit tests via Jest.

Storm Workspaces

Storm workspaces are built using Nx, a set of extensible dev tools for monorepos, which helps you develop like Google, Facebook, and Microsoft. Building on top of Nx, the Open System provides a set of tools and patterns that help you scale your monorepo to many teams while keeping the codebase maintainable.

Roadmap

See the open issues for a list of proposed features (and known issues).

Support

Reach out to the maintainer at one of the following places:

License

This project is licensed under the Apache License 2.0. Feel free to edit and distribute this template as you like.

See LICENSE for more information.

Changelog

This project adheres to Semantic Versioning. Every release, along with the migration instructions, is documented in the CHANGELOG file

Contributing

First off, thanks for taking the time to contribute! Contributions are what makes the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are greatly appreciated.

Please try to create bug reports that are:

  • Reproducible. Include steps to reproduce the problem.
  • Specific. Include as much detail as possible: which version, what environment, etc.
  • Unique. Do not duplicate existing opened issues.
  • Scoped to a Single Bug. One bug per report.

Please adhere to this project's code of conduct.

You can use markdownlint-cli to check for common markdown style inconsistency.

Contributors

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

Storm Software is an open source software development organization and creator of Acidic, StormStack and StormCloud.

Our mission is to make software development more accessible. Our ideal future is one where anyone can create software without years of prior development experience serving as a barrier to entry. We hope to achieve this via LLMs, Generative AI, and intuitive, high-level data modeling/programming languages.

Join us on Discord to chat with the team, receive release notifications, ask questions, and get involved.

If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our website or join our Slack channel!

0.7.35

4 months ago

0.8.5

2 months ago

0.8.4

2 months ago

0.7.37

4 months ago

0.7.36

4 months ago

0.7.39

4 months ago

0.7.38

4 months ago

0.13.6

2 months ago

0.13.7

2 months ago

0.13.8

2 months ago

0.13.9

2 months ago

0.13.0

2 months ago

0.13.1

2 months ago

0.13.2

2 months ago

0.13.3

2 months ago

0.13.4

2 months ago

0.13.5

2 months ago

0.10.1

2 months ago

0.10.2

2 months ago

0.7.83

2 months ago

0.10.0

2 months ago

0.8.1

2 months ago

0.7.80

3 months ago

0.8.0

2 months ago

0.8.3

2 months ago

0.7.82

3 months ago

0.8.2

2 months ago

0.7.81

3 months ago

0.7.77

3 months ago

0.7.76

3 months ago

0.7.79

3 months ago

0.7.78

3 months ago

0.7.73

3 months ago

0.7.72

3 months ago

0.7.75

3 months ago

0.7.74

3 months ago

0.11.0

2 months ago

0.11.1

2 months ago

0.7.71

3 months ago

0.7.70

3 months ago

0.7.66

3 months ago

0.7.65

3 months ago

0.7.68

3 months ago

0.7.67

3 months ago

0.13.12

2 months ago

0.7.62

3 months ago

0.13.11

2 months ago

0.7.61

3 months ago

0.13.10

2 months ago

0.7.64

3 months ago

0.7.63

3 months ago

0.7.69

3 months ago

0.13.16

1 month ago

0.9.0

2 months ago

0.13.15

1 month ago

0.13.14

1 month ago

0.7.60

3 months ago

0.13.13

2 months ago

0.9.1

2 months ago

0.13.19

1 month ago

0.13.18

1 month ago

0.13.17

1 month ago

0.7.55

3 months ago

0.7.54

3 months ago

0.7.57

3 months ago

0.7.56

3 months ago

0.7.51

3 months ago

0.7.50

3 months ago

0.13.21

1 month ago

0.7.53

3 months ago

0.13.20

1 month ago

0.7.52

3 months ago

0.7.59

3 months ago

0.7.58

3 months ago

0.12.0

2 months ago

0.12.1

2 months ago

0.7.44

3 months ago

0.7.43

3 months ago

0.7.46

3 months ago

0.7.45

3 months ago

0.7.40

3 months ago

0.7.42

3 months ago

0.7.41

3 months ago

0.7.48

3 months ago

0.7.47

3 months ago

0.7.49

3 months ago

0.7.34

5 months ago

0.7.33

5 months ago

0.7.32

5 months ago

0.7.31

5 months ago

0.7.30

5 months ago

0.7.29

5 months ago

0.7.28

5 months ago

0.7.27

5 months ago

0.7.26

5 months ago

0.7.25

5 months ago

0.7.24

5 months ago

0.7.23

5 months ago

0.7.21

5 months ago

0.7.20

5 months ago

0.7.19

5 months ago

0.7.18

6 months ago

0.7.17

6 months ago

0.7.16

6 months ago

0.7.15

6 months ago

0.7.14

6 months ago

0.7.13

6 months ago

0.7.12

6 months ago

0.7.11

6 months ago

0.7.10

6 months ago

0.7.9

6 months ago

0.7.8

6 months ago

0.7.7

6 months ago

0.7.6

6 months ago

0.7.5

6 months ago

0.7.4

6 months ago

0.7.3

6 months ago

0.7.1

6 months ago

0.7.0

6 months ago

0.6.0

6 months ago

0.5.1

6 months ago

0.1.0

7 months ago

0.0.1

7 months ago