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

Importing vlan fails #87

Closed
peterbaumert opened this issue Mar 12, 2024 · 2 comments
Closed

Importing vlan fails #87

peterbaumert opened this issue Mar 12, 2024 · 2 comments

Comments

@peterbaumert
Copy link
Contributor

Hi,

I am somehow not able to import vlans.

resource "phpipam_vlan" "test" {
  number       = 1
  name         = "test"
  l2_domain_id = 1
}

when I do terraform import phpipam_vlan.test 19

it gives me the error

╷
│ Error: vlan_id or number not defined, cannot proceed with reading data
│ 
│ 
╵

phpipam version: v1.7.0 dbversion 41
Terraform v1.7.4
provider registry.terraform.io/lord-kyron/phpipam v1.5.2

@peterbaumert
Copy link
Contributor Author

created #88 for this. please review.

@pavel-z1
Copy link
Collaborator

PR merged #88

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