You will need a StackGen Admin or DevOps access to run this command.
Resource Upload
The stackgen upload command uploads custom modules, resource restriction policies, and security rules through the CLI.
Usage
stackgen upload [command]
Flags
| Flag | Description |
|---|---|
-h, --help | Help for upload. |
See Global flags for --interactive, --log, --output, --project, and --stackgen-home.
Subcommands
The upload command group currently includes:
You need StackGen Admin or DevOps access to run these commands.
custom-modules
Upload custom modules for use across your organization (DevOps role).
resource-restriction-policy
Upload policies that limit which StackGen resources or custom modules appear in topology builders (Admin or DevOps role).
security-rules
Upload custom security and compliance rules from a JSON file (Admin or DevOps role).
Related topics
These pages cover other upload or policy flows. They are not stackgen upload subcommands in this guide. Use the UI or APIs where applicable.