infobloxopen / terraform-provider-infoblox

Infoblox NIOS Terraform Provider
https://github.com/infobloxopen/terraform-provider-infoblox
Mozilla Public License 2.0
67 stars 77 forks source link

unknown extensible attribute: Terraform Internal ID when using the infoblox_ip_allocation resource #276

Closed Robogeek95 closed 4 months ago

Robogeek95 commented 1 year ago

I keep having errors regarding an unknown extensible attribute: Terraform Internal ID when using the infoblox_ip_allocation resource.

How do I fix this, please? do I need to create this before I am able to use the resource?

infoblox_ip_allocation.guest_ip will be created

Do you want to perform these actions? Terraform will perform the actions described above. Only 'yes' will be accepted to approve.

Enter a value: yes

infoblox_ip_allocation.guest_ip: Creating...

Error: error while creating a host record: WAPI request error: 400('400 Bad Request') Contents: { "Error": "AdmConProtoError: Unknown extensible attribute: Terraform Internal ID", "code": "Client.Ibap.Proto", "text": "Unknown extensible attribute: Terraform Internal ID" }

with infoblox_ip_allocation.guest_ip, on infoblox.tf line 1, in resource "infoblox_ip_allocation" "guest_ip": 1: resource "infoblox_ip_allocation" "guest_ip" {

The terraform block that created this is:

resource "infoblox_ip_allocation" "guest_ip" { network_view="DGN" dns_view = "Internal" enable_dns = true ipv4_cidr = var.infoblox_cidr fqdn = format("%s.%s", local.vm_name, local.ad_domain) }

rvdh commented 1 year ago

It's in the documentation: https://registry.terraform.io/providers/infobloxopen/infoblox/latest/docs/resources/infoblox_ip_allocation

maxadamo commented 1 year ago

@rvdh the Terraform documentation points to NIOS documentation. NIOS documentation consists of 2300 pages, and it doesn't contain any information about "internal id", or "terraform". Is there anything more specific and rather easy to read ? I see the following in the UI, but it's not clear how I should use this: image

maxadamo commented 1 year ago

can I suggest to add two lines in the Terraform documentation, just to explain the followings:

NIOS documentation will scare the user for nothing.

ppuschmann commented 4 months ago

Sad to see there's no reaction to this after May 2023.

I suppose this could also possible solve this message happening with provider version 2.5.0 but not with 2.4.1:

│ Error: WAPI request error: 400('400 Bad Request')
│ Contents:
│ { "Error": "AdmConDataError: None (IBDataConflictError: IB.Data.Conflict:Cannot create extensible attribute definition 'Terraform Internal ID'. Only superusers can manage extensible attribute definition)", 
│   "code": "Client.Ibap.Data.Conflict", 
│   "text": "Cannot create extensible attribute definition 'Terraform Internal ID'. Only superusers can manage extensible attribute definition"
│ }
Mithun2507 commented 4 months ago

@rvdh the documentation points to NIOS documentation. NIOS documentation it's 2300 pages, and it doesn't contain any information about "internal id", or "terraform". Is there anything more specific and rather easy to read ? I see the following in the UI, but it's not clear how I should use this: image

this fixed the error for us in version 2.6

JkhatriInfobox commented 4 months ago

For extensible attribute, we have added the document in our GIT document. Ref: README

Hence marking it as closed.