Command: up
The turbot up command deploys the mod to a Turbot Guardrails workspace. Using up is distinct from publish. For
example, you want to upload the aws-macie mod. Navigate to
/turbot-v5/turbot-mods/packages/aws-macie, and run:
$ turbot up
Turbot mod: tmod:@turbot/aws-macie
Title: @turbot/aws-macie
Resource types:AWS > Macie
Policy types:AWS > IAM > Permissions > Compiled > Levels > @turbot/aws-macieAWS > IAM > Permissions > Compiled > Service Permissions > @turbot/aws-macieAWS > Macie > Approved Regions [Default]AWS > Macie > EnabledAWS > Macie > PermissionsAWS > Macie > Permissions > LevelsAWS > Macie > Permissions > Levels > ModifiersAWS > Macie > Regions [Default]
Permission types:AWS > MacieRunning prepack script: ./build.shZipping modUploading mod { dirName: '/Users/ankurpanja/turbot-delivery/turbot-v4/turbot-mods/packages/aws-macie', parentResource: '162167737252865', packedMod: '/Users/ankurpanja/turbot-delivery/turbot-v4/turbot-mods/packages/aws-macie/index.zip', endpointUrl: 'https://stacy-turbot.cloud.turbot-dev.com/api/v5/' }Mod upload started.. { parentResource: '162167737252865' }
Build id 20190924083621254
Module successfully uploaded.Mod resource page: https://stacy-turbot.cloud.turbot-dev.com/resource/171298187007908
Check control installed controls to ensure all Lambda based controls have been installed successfully.
Triggering mod install control ...Check the status of your mod install here: https://stacy-turbot.cloud.turbot-dev.com/control/171298187084715Usage
Usage: turbot up [options] [dir]
The supported options are:
--dir or -d: Path to the Turbot mod that you want to upload, and it defaults to".".--pre-build: Pre-build shell script.--peer-path: Path to peer-dependencies.--help: Shows help.--parent: Set the resource aka of the mod upload location, The default istmod:@turbot/turbot#/--mode: How to auto-increment version in package.json. The choices available are a subset of a valid semver string, major release should not be auto incremented using turbot up. Possible values areprerelease,patchandminor. The default value isprerelease.--build-script: Build script to use. The default value ismake.--pack: pack the mod before uploading to the server. The default value istrue.--zip-file:Bypass mod build process and just upload the given file. The argument must be a completely formed zipped mod.--include-build-number: Include the build number in the local packed file. The default value isfalse.--profile: The Turbot credentials profile to use.--credentials-file: Path to the shared credentials file. The default is~/.config/turbot/credentials.yml.--access-key: Turbot Guardrails access key for the workspace. If not specified, Turbot Guardrails credentials will be read from your Guardrails CLI credentials file or environment variables--secret-key: Turbot Guardrails secret access key id. If not specified, Turbot Guardrails credentials will be read from your Guardrails CLI credentials file or environment variables--workspace: Turbot Guardrails workspace, for example:parker-turbot.cloud.turbot-dev.com. If not specified, Turbot Guardrails credentials will be read from your Guardrails CLI credentials file or environment variables