upload-resources
You will need a StackGen Admin or DevOps access to run this command.
Resource Upload
The stackgen upload command is used to upload custom modules and security rules through the CLI. Use stackgen policies for resource restriction policies.
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).
security-rules
Upload custom security and compliance rules from a JSON file (Admin or DevOps role).
Resource restriction policies
Use stackgen policies resource-restriction to list or upload resource restriction policies. stackgen upload resource-restriction-policy is deprecated. Use the policies command instead.
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.