Skip to content

MS Defender Integration tests failing #185

@chris-rock

Description

@chris-rock

Describe the bug

on latest main the following tests are failing:

=== RUN   TestAccMsDefenderIntegrationResource
    integration_msdefender_resource_test.go:14: Step 1/4 error: Error running apply: exit status 1
        
        Error: Missing Resource State After Create
        
          with mondoo_integration_msdefender.msdefender_integration,
          on terraform_plugin_test.tf line 12, in resource "mondoo_integration_msdefender" "msdefender_integration":
          12: resource "mondoo_integration_msdefender" "msdefender_integration" {
        
        The Terraform Provider unexpectedly returned no resource state after having
        no errors in the resource creation. This is always an issue in the Terraform
        Provider and should be reported to the provider developers.
        
        The resource may have been successfully created, but Terraform is not
        tracking it. Applying the configuration again with no other action may result
        in duplicate resource errors. Import the resource if the resource was
        actually created and Terraform should be tracking it.

To Reproduce

Run tests on latest main, see https://github.com/mondoohq/terraform-provider-mondoo/actions/runs/12348500045/job/34457483333

Expected behavior

Tests pass

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions