Resource Manager Plugin (RMS) for Visual Studio CodeResource Manager is an Oracle Cloud Infrastructure service that allows you to automate the process of provisioning your Oracle Cloud Infrastructure resources. Using Terraform, Resource Manager helps you install, configure, and manage resources through the "infrastructure-as-code" model. Checkout the wiki for more information about the Resource Manager service. InstallationThe plugin requires basic configuration information, like user credentials and tenancy OCID.
This information should be present in a configuration file located at There are two ways to get the config file
Inital ViewThe RMS plugin when loaded has a tree view in the side panel, the data is loaded based on the configuration information, like user credentials, region, tenancy OCID, etc in the configuration file Hierarchy of tree view: the tree view has tenancy at the top level followed by compartements, each compartment has stacks associated with the compartment. Each stack lists the terraform config files. The Plugin provides operations for git-based and non-git based stacks Git-based stackSave stack
Run Plan jobRuns plan job & provisions resources as per edited terraform config and updates tooltip and icon based on whether plan was successful. Also, logs are shown regardless of failure or successful in output channel. Below are the steps:
Run Apply jobRuns apply job & provisions resources as per edited terraform config and updates tooltip and icon based on whether plan was successful. Also, logs are shown regardless of failure or successful in output channel. Below are the steps:
Download configurationDownloads terraform configuration depending on the source from which it was created ie: git, object storage or RMS
The repository will be cloned Non-Git based stackThe non git based stack has all the same options, the only difference is it cascades any changes to the service before running plan/apply action. The menu options for non git based stack are as shown below: Download configurationProvides ability to clone a repository
References
ContributingThis project welcomes contributions from the community. Before submitting a pull request, please review our contribution guide. LicenseCopyright © 2022 Oracle and/or its affiliates. Licensed under the Universal Permissive License (UPL), Version 1.0. See LICENSE for more details. ORACLE AND ITS AFFILIATES DO NOT PROVIDE ANY WARRANTY WHATSOEVER, EXPRESS OR IMPLIED, FOR ANY SOFTWARE, MATERIAL OR CONTENT OF ANY KIND CONTAINED OR PRODUCED WITHIN THIS REPOSITORY, AND IN PARTICULAR SPECIFICALLY DISCLAIM ANY AND ALL IMPLIED WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. FURTHERMORE, ORACLE AND ITS AFFILIATES DO NOT REPRESENT THAT ANY CUSTOMARY SECURITY REVIEW HAS BEEN PERFORMED WITH RESPECT TO ANY SOFTWARE, MATERIAL OR CONTENT CONTAINED OR PRODUCED WITHIN THIS REPOSITORY. IN ADDITION, AND WITHOUT LIMITING THE FOREGOING, THIRD PARTIES MAY HAVE POSTED SOFTWARE, MATERIAL OR CONTENT TO THIS REPOSITORY WITHOUT ANY REVIEW. USE AT YOUR OWN RISK. |