Skip to content
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

Extensible attribute 'Terraform Internal ID' is not allowed for this operation #420

Open
golipradeep opened this issue Nov 13, 2024 · 1 comment

Comments

@golipradeep
Copy link

I upgraded Infoblox Terraform Provider to use >=2.7.0 & <3 in my code and added extensible attribute in Infoblox tool as one of the prerequisite before executing script

→ On executing the code after adding I am observing the following error:

│ Error: creation of A-record under DNS view ‘Internal’ failed: WAPI request error: 400(‘400 Bad Request’)
│ Contents:
│ { “Error”: “AdmConDataError: None (IBDataConflictError: IB.Data.Conflict:Extensible attribute ‘Terraform Internal ID’ is not allowed for this operation)”,
│ “code”: “Client.Ibap.Data.Conflict”,
│ “text”: “Extensible attribute ‘Terraform Internal ID’ is not allowed for this operation”
│ }


│ with infoblox_a_record.a_record_vm1,
│ on dns.tf line 39, in resource “infoblox_a_record” “a_record_vm1”:
│ 39: resource “infoblox_a_record” “a_record_vm1” {



│ Error: creation of CNAME Record under Internal DNS View failed: WAPI request error: 400(‘400 Bad Request’)
│ Contents:
│ { “Error”: “AdmConDataError: None (IBDataConflictError: IB.Data.Conflict:Extensible attribute ‘Terraform Internal ID’ is not allowed for this operation)”,
│ “code”: “Client.Ibap.Data.Conflict”,
│ “text”: “Extensible attribute ‘Terraform Internal ID’ is not allowed for this operation”
│ }


│ with infoblox_cname_record.VM_cname1,
│ on dns.tf line 47, in resource “infoblox_cname_record” “VM_cname1”:
│ 47: resource “infoblox_cname_record” “VM_cname1” {

→ When I executed the code without adding the extensible attribute in Infoblox, I see the error as below:

Planning failed. Terraform encountered an error while generating this plan.

│ 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”

│ }

@JkhatriInfobox
Copy link
Collaborator

Hi @golipradeep,

Thank you for raising this issue. To help us better understand and resolve the problem, could you please provide the following details:

NIOS Version: Which version of NIOS are you using?
User Permissions: What permissions are assigned to the user configured in your Terraform setup? The error message suggests there might be some missing permissions:
“text”: “Extensible attribute ‘Terraform Internal ID’ is not allowed for this operation”
Terraform Configuration: Could you share the relevant parts of your Terraform configuration, including how you created the extensible attribute?

Additionally, since only superusers can manage extensible attribute definitions, the following error is expected if the user is not a superuser:
“text”: “Cannot create extensible attribute definition ‘Terraform Internal ID’. Only superusers can manage extensible attribute definition”

This information will help us diagnose the issue more effectively. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants