Skip to main content

A small example package

Project description

Commercial Marketplace Offer Deployment Manager (MODM)

MODM Development CLI library

Package building

# packaged using 1st party VM offer
modm package build \
    --name "simple terraform app" \
    --description "Simple Terraform application template that deploys a storage account" \
    --version v2.0.0 \
    --main-template build/managedapp/terraform/simple/templates/main.tf \
    --create-ui-definition build/managedapp/terraform/simple/createUiDefinition.json \
    --out-dir ./bin

# packaged using vmi reference
modm package build \
    --name "simple terraform app" \
    --description "Simple Terraform application template that deploys a storage account" \
    --version v2.0.0 \
    --vmi-reference true \
    --main-template build/managedapp/terraform/simple/templates/main.tf \
    --create-ui-definition build/managedapp/terraform/simple/createUiDefinition.json \
    --out-dir ./bin

# packaged using vmi reference id that will be used directly
modm package build \
    --name "simple terraform app" \
    --description "Simple Terraform application template that deploys a storage account" \
    --version v2.0.0 \
    --vmi-reference-id /subscriptions/31e9f9a0-9fd2-4294-a0a3-0101246d9700/resourceGroups/modm-dev-vmi/providers/Microsoft.Compute/galleries/modm.dev.sig/images/modm/versions/0.1.96 \
    --main-template build/managedapp/terraform/simple/templates/main.tf \
    --create-ui-definition build/managedapp/terraform/simple/createUiDefinition.json \
    --out-dir ./bin

resources file

modm util create-resources-archive -v 2.0.0 -t ./templates -f src/Functions/Functions.csproj -o ./dist

# reference the resource file directly
modm package build \
    --name "simple terraform app" \
    --description "Simple Terraform application template that deploys a storage account" \
    --resources-file ./dist/resources-v2.0.0.tar.gz \
    --vmi-reference-id /subscriptions/31e9f9a0-9fd2-4294-a0a3-0101246d9700/resourceGroups/modm-dev-vmi/providers/Microsoft.Compute/galleries/modm.dev.sig/images/modm/versions/0.1.96 \
    --main-template build/managedapp/terraform/simple/templates/main.tf \
    --create-ui-definition build/managedapp/terraform/simple/createUiDefinition.json \
    --out-dir ./bin

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file commercial_marketplace_offer_deploy-2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for commercial_marketplace_offer_deploy-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 66533009d103e07f9d9347a666c46b7567c68233229d3ade99e51d116b4092a4
MD5 852330c111ca75a8e43a8d696be1da1a
BLAKE2b-256 c5d139181dc7924ed1ac19d13d063e9b63a0c980438d1d5eed62071d42eea71a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page