Closed rakesh-bitso closed 1 year ago
Hi @rakesh-bitso, in our terraform provider opsgenie, we make use of public api to update a service. At present this api does not have the capability to update the team corresponding to the service. So we will not be able to provide the requested functionality at this point in time. The workaround is to delete the service and create a new service with the required team.
Hi there,
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
Terraform Version
Run
terraform -v
to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.Affected Resource(s)
Please list the resources as a list, for example:
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
{ "locals": { "services": { "test-service": { "description": "test description", "owner": "Team_1" } } } }
resource "opsgenie_service" "services" { for_each = local.services name = each.key description = each.value.description team_id = each.value.owner }