Importing a Template
Import a custom template file into Oracle Cloud Stack.
The value of the templateName
attribute in the file is used as the name of the template in Oracle Cloud
Stack. The actual name of the template source file is not used by Oracle Cloud
Stack to identify a template. If you import a template with the same name as an existing template but with a newer templateVersion
, you replace the existing one. Any existing stacks that were created from previous versions of this template are not affected. See Editing a Template.
Importing a Published Template with the Console
Use the web console to import a template file into Oracle Cloud Stack. The template is automatically published and is available to all users in this account for the creation of cloud stacks.
Importing an Unpublished Template with the Console
Use the web console to import a unpublished (draft) template file into Oracle Cloud Stack. The template cannot be used to create stacks until it is published.
Before importing an unpublished template for the first time, see Configuring Template Storage.
After making any modifications to the imported template with the console, you can publish it. See Publishing a Template.
Importing a Template with the CLI
Use the CLI to import a template file into Oracle Cloud Stack.
You can also validate a template file without importing it. See Validating a Template.
For more information about the CLI commands for Oracle Cloud Stack, see psm stack Commands.