Skip to main content

Command: apply datacenter

Apply changes to a new or existing datacenter from the specified config file. The command will show a preview of the changes and await for approval before proceeding unless the --auto-approve flag is set.

$ arcctl apply datacenter dev ./dev-datacenter.arc

Arguments

IndexDescription
0The name of the datacenter to create or update
1The path to the new datacenter config file to use as the new configuration

Flags

NameTypeDescription
--varArray<String>A key/value string that uses an equals sign as a separator indicating the variable name and target value (e.g. region=nyc1)
--auto-approveBooleanAutomatically push the built image to the registries associated with each tag