Skip to content

Missing AzureServiceHealthV2 Integration in Opsgenie Provider opsgenie_api_integration #463

@MarouaneB-IS

Description

@MarouaneB-IS

Issue Description

The Terraform provider for Opsgenie does not support AzureServiceHealthV2 as an integration type for opsgenie_api_integration.

In the Opsgenie UI, users can select AzureServiceHealthV2 as an integration type. However, when defining an opsgenie_api_integration resource in Terraform, this option is not available.

Expected Behavior

Terraform should allow specifying AzureServiceHealthV2 as an integration type in the opsgenie_api_integration resource.

Example Configuration

resource "opsgenie_api_integration" "example-api-integration" {
  name = "api-based-int"
  type = "AzureServiceHealthV2"
}

Currently, this results in an error because AzureServiceHealthV2 is not a supported type in the provider.

Steps to Reproduce

  1. Attempt to define an opsgenie_api_integration resource in Terraform with type = "AzureServiceHealthV2".
  2. Run terraform apply.
  3. Observe that the provider does not recognize AzureServiceHealthV2 as a valid type.

Proposed Solution

Add support for AzureServiceHealthV2 in the Terraform provider so it matches the available options in the Opsgenie UI.

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