terraform-provider-oci icon indicating copy to clipboard operation
terraform-provider-oci copied to clipboard

403-NotAllowed, Please go to your home region phx to execute CREATE, UPDATE and DELETE operations.

Open ngogia20 opened this issue 2 years ago • 1 comments

Below is the error details. Although my region of execution is us-ashburn-1, it fails. I am using bastion module in example folder. Tags default location is going to Phoenix where as I execute in us-ashburn-1 and it creates bastion instance along with netwrok but it fails in tags

time_sleep.wait_3_minutes_for_bastion_plugin: Still creating... [1m40s elapsed] time_sleep.wait_3_minutes_for_bastion_plugin: Still creating... [1m50s elapsed] time_sleep.wait_3_minutes_for_bastion_plugin: Creation complete after 2m0s [id=2022-05-23T18:25:52Z]

Error: 403-NotAllowed, Please go to your home region phx to execute CREATE, UPDATE and DELETE operations. │ Suggestion: Please retry or contact support for help with service: Identity Tag Namespace │ Documentation: https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/identity_tag_namespace │ Request Target: POST https://identity.us-ashburn-1.oci.oraclecloud.com/20160918/tagNamespaces │ Provider version: 4.76.0, released on 2022-05-21.
│ Service: Identity Tag Namespace │ Operation Name: CreateTagNamespace │ OPC request ID: 4de45ee11f278b4d834e801eb21df2d8/C94F3F94B227B20120CF89D37FCAA338/23B14B4536E32A08834ADDB1DA921F1B │ │ │ with oci_identity_tag_namespace.bastion_tag_namespace1, │ on tag.tf line 1, in resource "oci_identity_tag_namespace" "bastion_tag_namespace1": │ 1: resource "oci_identity_tag_namespace" "bastion_tag_namespace1" {

ngogia20 avatar May 23 '22 18:05 ngogia20

@ngogia20 did you find a fix for this? Having the same issue.

If I may ask, were you an OCI Administrator of the tenancy you were trying to create resources upon?

jasperan avatar Aug 07 '22 01:08 jasperan

Thank you for reporting the issue. We observed the affected resources are not provided in the description or it's incorrect. We request you to add it in issue description as mentioned in below format. Example: affected_resources = oci_core_instance , oci_core_instances

If it's not related to any particular resource then mention affected resource as terraform. Example: affected_resources = terraform

As this works through automation, request you to follow exact syntax.

ravinitp avatar Apr 11 '23 13:04 ravinitp

@ngogia20 did you find a fix for this? Having the same issue.

If I may ask, were you an OCI Administrator of the tenancy you were trying to create resources upon?

Yes I was administrator

ngogia20 avatar Apr 11 '23 15:04 ngogia20

affected_resources=terraform and affected_resources=bastion

ngogia20 avatar Apr 11 '23 15:04 ngogia20