JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q12997F
  • License MIT

A tool for locally emulating and mocking Pulumi Cloud projects.

Package Exports

  • @getcoconut/cli

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@getcoconut/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Coconut CLI

Coconut CLI is a tool for locally emulating and mocking Pulumi Cloud Framework (PCF) projects. By using the Coconut CLI, developers are able to emulate and test their projects locally without ever needing to deploy them to the cloud.

Note: This tool is meant to work with pure PCF projects. So if your project uses other Pulumi resources you can't use it with the Coconut CLI.

Note: Check the Pulumi Cloud Mock Provider for details about the supported resources.

Getting started

To get started, go to your PCF project, install the required packages and run the tool:

$ cd <project>
$ npm install -D @getcoconut/cli @getcoconut/pulumi-cloud-mock
$ npx coconut mock

Once the PCF program is executed and the resources are ready, the outputs exported by the program will be printed on the screen and you can use them for testing. An example of these outputs are the URLs of the HTTP Server resources created by the program.