Problem using the OCI setupt #20
Replies: 3 comments 2 replies
-
Yep! If you're using the free tier OCI offer, Oracle provides a region AND availability domain to build your machine(s) in. Take a look at the oci.tfvars comments, especially:
This should output a JSON formatted doc with the AD available for your free tier. I apologize it isn't well explained in the youtube video though for cloudoffice (another project of mine) I did expand on it a bit (timestamped link goes to 9:20) |
Beta Was this translation helpful? Give feedback.
-
The relevant bit is AD 1, replace the 2 in your vars with a 1, see the end of:
availability-domain": "rkWB:eu-amsterdam-1-AD-1"
~
… On Mar 2, 2021, at 2:01 AM, Pedro Felgueiras ***@***.***> wrote:
I get this output from the command
:~/cloudblock/etc/oci-two-instances$ OCI_TENANCY_OCID=$(oci iam compartment list --all --compartment-id-in-subtree true --access-level ACCESSIBLE --include-root --raw-output --query "data[?contains(\"id\",'tenancy')].id | [0]")
:~/cloudblock/etc/oci-two-instances$ oci limits value list --compartment-id $OCI_TENANCY_OCID --service-name compute --query "data [?contains(\"name\",'standard-e2-micro-core-count')]" --all
[
{
"availability-domain": "rkWB:eu-amsterdam-1-AD-1",
"name": "standard-e2-micro-core-count",
"scope-type": "AD",
"value": 2
}
]
And my oci.tfvars has
oci_region = "eu-amsterdam-1"
oci_adnumber = 2
oci_instance_shape = "VM.Standard.E2.1.Micro"
Still missing out on what I'm doing wrong.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
-
Im sorry to be presistent, but after replacing the oci_adnumber to 1 I got this error:
Any sugestions ? |
Beta Was this translation helpful? Give feedback.
-
After I run the
terraform apply -var-file="oci.tfvars"
i get this error
Any idea on what I can do?
Beta Was this translation helpful? Give feedback.
All reactions