Skip to content

Error when creating a tag namespace in OCI #562

@kol777

Description

@kol777

Terraform and OCI Provider Version

Terraform v0.11.7 + provider.oci v2.1.16

Description:

When I try to create a oci_identity_tag_namespace I get the following error:
oci_identity_tag_namespace.this: value cannot be empty for field TagNamespaceId in path

The namespace gets created in OCI, but due to the fact that it errors out, I cannot proceed with the creation of oci_identity_tag keys automatically.

Code used for the resource

resource "oci_identity_tag_namespace" "this" {
  compartment_id = "${var.compartment_ocid}"
  description    = "${var.tag_namespace_description}"
  name           = "${var.tag_namespace_name}"
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions