EBSOC-01804 : Failed to Apply terraform plan for Infra creation on Oracle Cloud
While Doing advance provisioning for EBS instance from EBS cloud Manager getting error
Error:
with module.db.oci_database_db_system.dbsystem,
on .terraform/modules/db/vmdb.tf line 1, in resource "oci_database_db_system" "dbsystem":
1: resource "oci_database_db_system" "dbsystem" {
[2022/10/07 03:16:31]:TfTasks::tfApply: ERROR: -------------------------------
[2022/10/07 03:16:31]:TfTasks::tfApply: ERROR: ERROR occurred
[2022/10/07 03:16:31]:TfTasks::tfApply: ERROR: EBSOC-01804 : Failed to Apply terraform plan for Infra creation
Reason:
Check the terraform version on cloud manager machine
[oracle@ebscm-instance ~]$ terraform -version
Terraform v1.1.9
on linux_amd64
Your version of Terraform is out of date! The latest version
is 1.3.1. You can update by downloading from https://www.terraform.io/downloads.html
Solution:
Download latest version of Terraform (1.3.2) from HashiCorp site for Linux(https://www.terraform.io/downloads.html) Version can change depending when you are doing and latest version available
Unzip and move the terraform file to bin directory to make it global.
Login to VM of EBS cloud manager using ops user.
Switch to oracle user
cd ~/bin/
mv terraform terraform_oldversion
> wget https://releases.hashicorp.com/terraform/1.3.2/terraform_1.3.2_linux_amd64.zip
> unzip terraform_1.3.2_linux_amd64.zip
> ./terraform --version will be latest version
Post a Comment
Post a Comment