Provision and Manage Resources
Use Oracle Resource Manager or Terraform to deploy, remove, or change your resources in the cloud efficiently.
About Terraform State Files
Terraform stores state information to track your managed infrastructure resources, map the deployed resources to your configuration, track metadata, and improve performance for large infrastructure deployments.
By default, the terraform.tfstate
file is stored on the local host. This default behavior is not optimal in IT environments where multiple users need to create and destroy the resources that are defined in a given configuration. To control deploying and managing resources in a multi-user environment, store the Terraform state files in Oracle Cloud
Infrastructure Object Storage, and share the state files and lock files between all the users.
Create the Resources
After you set the variables in terraform.tfvars
file, use the Terraform CLI to deploy the resources defined in the Terraform configuration.
terraform apply
command runs successfully.Apply complete! Resources: 35 added, 0 changed, 0 destroyed.
Outputs:
BastionPublicIPs = [
203.0.113.51
]
epmEssbaseServerDetails = []
epmFoundationServerPrivateIPs = [
172.16.3.4:epmfndpho11:opc: password
]
epmHFMServerPrivateIPs = [
172.16.3.5:epmhfmpho11:opc: password
]
epmPlanningServerPrivateIPs = []
epmProfitabilityServerDetails = []
epmStrategicFinanceServerDetails = []
epmWebServerPrivateIPs = [
172.16.2.2:epmwebpho11:opc: password
]
The Terraform output contains the following information:
- The public IP addresses of the bastion hosts.
- The private IP addresses, host names, user name, and the initial password for each of the private Microsoft Windows Server compute instances in the topology, in the format
privateIPaddress:hostName:opc: initialPassword
Make a note of these details. You'll need them to access the compute instances.
Note:
You can view this output at any time by running the following command:terraform output