Closed milliams closed 5 years ago
This branch now works fine against Oracle. The difference needed is that you now need to add oracle-cloud-infrastructure
to any terraform
commands you run, e.g.:
terraform init oracle-cloud-infrastructure
terraform plan oracle-cloud-infrastructure
terraform apply oracle-cloud-infrastructure
and the terraform.tfvars
example file now needs to be copied from oracle-cloud-infrastructure/terraform.tfvars.example
The next step is to merge the Ansible changes into a branch and make sure that these continue to work on Oracle.
Given that we now have to specify for each terraform command whether we are working with Oracle or Google, e.g.:
$ mv oracle-cloud-infrastructure/terraform.tfvars.example terraform.tfvars
$ terraform apply oracle-cloud-infrastructure
or
$ mv google-cloud-platform/terraform.tfvars.example terraform.tfvars
$ terraform apply google-cloud-platform
do we instead want to rename these directories to shorter names oracle
and google
or oci
and gcp
so that it becomes:
$ mv oracle/terraform.tfvars.example terraform.tfvars
$ terraform apply oracle
Continuing the work from #33.
i think the general process we want is: