-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404-NotAuthorizedOrNotFound #4
Comments
Hi @anikolop, i also see the same message:
Maybe the problem is here:
Why there are two plugins? Or maybe is the terraform version you are using (i'm using v1.1.6), I will try to update both terraform and the oci plugin and I try to reproduce this error. Can you try to clone the repo in a new directory and try to init terraform from scratch to see what happens? Remember to copy the state file (terraform.tfstate) and the customized main.tf file in the new directory. |
Hi @garutilorenzo , Maybe it has something to todo with my account / region? [terraform version]
[terraform init]
[terraform apply]
|
Are you using the "root" account or you have created a dedicated terraform user to use with terraform? |
No I didn't create any user. I will try, as cellerich suggested, multiple time to apply the plan and see where it goes from there. |
I have this Policy attached to the terrafrom group:
and i'm using the terraform user that is in this group. |
I created the terraform group and a new user but the outcome was the same. |
Opened issue to oracle oci provider |
I've found a workaround. Then i've tried to import the resurce with: terraform import module.k3s_cluster.oci_network_load_balancer_backend.k3s_kube_api_backend[1] "networkLoadBalancers/ocid1.networkloadbalancer.oc1.eu-zurich-1.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/backendSets/k3s_kube_api_backend/backends/ocid1.instance.oc1.eu-zurich-1.xxxxxxxxxxxxxxxxxxxxxx:6443" and the import has correctly imported the backend Changing the backend name to $instance_id:$backend_port fix the problem, but this is only a workaround. Also, with this workaround the backand name in the web console is always setted to the instance name. |
@garutilorenzo it is working now as you describe. |
Hi @garutilorenzo.
Thanks for your work on this repo.
Strangely enough I can see in the web console that the network load balancer is created and has 1 listener and 2 backends.
[Terraform on WSL2 Ubuntu 20.04]
Terraform v1.1.9
on linux_amd64
Thanks in advance for any pointers that you may have.
The text was updated successfully, but these errors were encountered: