Skip to content

Add function to get the system of the service#540

Merged
rocktavious merged 1 commit into
mainfrom
kr/add-get-service-system
May 2, 2025
Merged

Add function to get the system of the service#540
rocktavious merged 1 commit into
mainfrom
kr/add-get-service-system

Conversation

@rocktavious
Copy link
Copy Markdown
Contributor

@rocktavious rocktavious commented May 2, 2025

Resolves OpsLevel/terraform-provider-opslevel#567

Problem

There is no way to get the system of a service

Solution

Part 1 for OpsLevel/terraform-provider-opslevel#567

Add a context method on the service resource, similar to that of GetProperties and GetTags

Checklist

  • I have run this code, and it appears to resolve the stated issue.
  • This PR does not reduce total test coverage
  • This PR has no user interface changes or has already received approval from product management to change the interface.
  • Does this change require a Terraform schema change?
    • If so what is the ticket or PR #
  • Make a changie entry that explains the customer facing outcome of this change

@rocktavious rocktavious requested a review from p25marti May 2, 2025 14:31
@rocktavious rocktavious self-assigned this May 2, 2025
@p25marti
Copy link
Copy Markdown
Contributor

p25marti commented May 2, 2025

LGTM! Just the one linting error.

@rocktavious rocktavious force-pushed the kr/add-get-service-system branch from b33c9d9 to eae82ab Compare May 2, 2025 19:47
@rocktavious rocktavious force-pushed the kr/add-get-service-system branch from eae82ab to bcf44c6 Compare May 2, 2025 19:52
@rocktavious rocktavious merged commit fdcb5f5 into main May 2, 2025
5 checks passed
@rocktavious rocktavious deleted the kr/add-get-service-system branch May 2, 2025 19:54
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

Successfully merging this pull request may close these issues.

feature request: data.opslevel_service includes the system that the service belongs to

2 participants