provisionEnvironment

Back to index

Summary

Provisions an environment.
projectName
Stringrequired
The name for the project that must be unique among all projects.
environmentName
Stringrequired
The name of the environment.
environmentTemplateName
Stringrequired
The name of the environment template.
environmentTemplateProjectName
Stringoptional
Name for the project containing environment template.
keepOnError
Booleanoptional
Tear down on error flag.
tierResourceCount
Arrayoptional
Resource count per environment template tier.

Usage

Perl

$cmdr->provisionEnvironment( "test-projectName", # projectName "test-environmentName", # environmentName "test-environmentTemplateName" # environmentTemplateName # optionals );

ectool

ectool provisionEnvironment \ "test-projectName" `# projectName` \ "test-environmentName" `# environmentName` \ "test-environmentTemplateName" `# environmentTemplateName` \ # optionals

Examples

Perl

$cmdr->provisionEnvironment("Default", "Main servers", "Build Server", {keepOnError => 1});

ectool

ectool provisionEnvironment "Default" "Main servers" "Build Server" --keepOnError 1