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

data source mist_org_webhooks has Missing OrgWebhooksValue Attribute Values #77

Open
Walter-Smet-at-delen opened this issue Feb 11, 2025 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Walter-Smet-at-delen
Copy link

Describe the bug

Retreiving org webhooks result in errors

To Reproduce

Steps to reproduce the behavior:

data "mist_org_webhooks" "mist_org_webhooks" {
  org_id  = var.my_org_id
}

Expected behavior

Should return webhooks at org level

Error Message

data.mist_org_webhooks.mist_org_webhooks: Reading...
│ Error: Missing OrgWebhooksValue Attribute Value
│ 
│   with data.mist_org_webhooks.mist_org_webhooks,
│   on mist_org.tf line 13, in data "mist_org_webhooks" "mist_org_webhooks":
│   13: data "mist_org_webhooks" "mist_org_webhooks" {
│ 
│ While creating a OrgWebhooksValue value, a missing attribute value was detected. A OrgWebhooksValue must contain values for all attributes, even if null or unknown. This is
│ always an issue with the provider and should be reported to the provider developers.
│ 
│ OrgWebhooksValue Attribute Name (site_id) Expected Type: basetypes.StringType
╵
╷
│ Error: Missing OrgWebhooksValue Attribute Value
│ 
│   with data.mist_org_webhooks.mist_org_webhooks,
│   on mist_org.tf line 13, in data "mist_org_webhooks" "mist_org_webhooks":
│   13: data "mist_org_webhooks" "mist_org_webhooks" {
│ 
│ While creating a OrgWebhooksValue value, a missing attribute value was detected. A OrgWebhooksValue must contain values for all attributes, even if null or unknown. This is
│ always an issue with the provider and should be reported to the provider developers.
│ 
│ OrgWebhooksValue Attribute Name (created_time) Expected Type: basetypes.Float64Type
╵
╷
│ Error: Missing OrgWebhooksValue Attribute Value
│ 
│   with data.mist_org_webhooks.mist_org_webhooks,
│   on mist_org.tf line 13, in data "mist_org_webhooks" "mist_org_webhooks":
│   13: data "mist_org_webhooks" "mist_org_webhooks" {
│ 
│ While creating a OrgWebhooksValue value, a missing attribute value was detected. A OrgWebhooksValue must contain values for all attributes, even if null or unknown. This is
│ always an issue with the provider and should be reported to the provider developers.
│ 
│ OrgWebhooksValue Attribute Name (modified_time) Expected Type: basetypes.NumberType

Software

Terraform v1.10.3
on linux_amd64

  • provider registry.terraform.io/juniper/mist v0.2.18
@Walter-Smet-at-delen Walter-Smet-at-delen added the bug Something isn't working label Feb 11, 2025
tmunzer added a commit that referenced this issue Feb 11, 2025
@tmunzer
Copy link
Collaborator

tmunzer commented Feb 11, 2025

hi @Walter-Smet-at-delen

thanks for the report. I fixed the issue and will release a new provider later this week.

@tmunzer tmunzer added this to the v0.2.19 milestone Feb 12, 2025
@tmunzer
Copy link
Collaborator

tmunzer commented Feb 14, 2025

Hi @Walter-Smet-at-delen ,

I just released v0.2.19 which is fixing this issue.
If you have time can you test and confirm this has been fixed?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants