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

resource_telemetry_service_registry_entry_test apply failure "bug in provider" #888

Open
bwJuniper opened this issue Oct 1, 2024 · 0 comments

Comments

@bwJuniper
Copy link
Collaborator

== RUN TestAccResourceTelemetryServiceRegistryEntry
resource_telemetry_service_registry_entry_test.go:237: Step 1/2 error: Error running apply: exit status 1

    Error: Provider produced inconsistent result after apply
    
    When applying changes to apstra_telemetry_service_registry_entry.test,
    provider "provider[\"registry.terraform.io/hashicorp/apstra\"]" produced an
    unexpected new value: .application_schema: was
    cty.StringVal("{\"properties\":{\"key\":{\"properties\":{\"authenticated_vlan\":{\"type\":\"string\"},\"authorization_status\":{\"type\":\"string\"},\"fallback_vlan_active\":{\"enum\":[\"True\",\"False\"],\"type\":\"string\"},\"port_status\":{\"enum\":[\"authorized\",\"blocked\"],\"type\":\"string\"},\"supplicant_mac\":{\"pattern\":\"^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$\",\"type\":\"string\"}},\"required\":[\"supplicant_mac\",\"authenticated_vlan\",\"authorization_status\",\"port_status\",\"fallback_vlan_active\"],\"type\":\"object\"},\"value\":{\"description\":\"0
    in case of blocked, 1 in case of
    authorized\",\"type\":\"integer\"}},\"required\":[\"key\",\"value\"],\"type\":\"object\"}"),
    but now cty.StringVal("{\"properties\": {\"key\": {\"properties\":
    {\"authenticated_vlan\": {\"type\": \"string\"}, \"authorization_status\":
    {\"type\": \"string\"}, \"fallback_vlan_active\": {\"enum\": [\"True\",
    \"False\"], \"type\": \"string\"}, \"port_status\": {\"enum\":
    [\"authorized\", \"blocked\"], \"type\": \"string\"}, \"supplicant_mac\":
    {\"pattern\": \"^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$\", \"type\":
    \"string\"}}, \"required\": [\"authenticated_vlan\",
    \"authorization_status\", \"fallback_vlan_active\", \"port_status\",
    \"supplicant_mac\"], \"type\": \"object\"}, \"value\": {\"description\": \"0
    in case of blocked, 1 in case of authorized\", \"type\": \"integer\"}},
    \"required\": [\"key\", \"value\"], \"type\": \"object\"}").
    
    This is a bug in the provider, which should be reported in the provider's own
    issue tracker.

--- FAIL: TestAccResourceTelemetryServiceRegistryEntry (3.00s)

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

1 participant