ns1-terraform / terraform-provider-ns1

Terraform NS1 provider
https://www.terraform.io/docs/providers/ns1/
Mozilla Public License 2.0
31 stars 63 forks source link

not allowed to modify the following permissions: manage_ipam #328

Open norman-zon opened 2 months ago

norman-zon commented 2 months ago

Hi there,

Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.

Terraform Version

OpenTofu v1.8.0

Affected Resource(s)

If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.

Terraform Configuration Files

resource "ns1_user" "myuser" {
  name     = "My user"
  username = "myuser"
  email    = "myuser@corp.com"
  teams    = [ns1_team.myteam.id]
  notify = {
    billing = false
  }
  depends_on = [
    ns1_team.myteam
  ]
}

Debug Output

Error: PUT https://api.nsone.net/v1/account/users: 403 You are not allowed to modify the following permissions: manage_ipam

Expected Behavior

User is created

Actual Behavior

API rejects user creation

Steps to Reproduce

  1. terraform apply

References

Maybe something missing from the DHCP/IPAM removal in the provider?

fformica commented 1 month ago

Hi, is this still a problem? I think it may have been fixed server side.