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

[fix]: [SRM-14907]: adding changes for empty change source changelog and doc #576

Merged
merged 2 commits into from
Jun 8, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/570.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:schema-change
rathodmeetsatish marked this conversation as resolved.
Show resolved Hide resolved
rathodmeetsatish marked this conversation as resolved.
Show resolved Hide resolved
- Removed empty change source and health source restriction from monitored service resource.
```
4 changes: 2 additions & 2 deletions docs/resources/platform_monitored_service.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,7 @@ resource "harness_platform_monitored_service" "example" {

Required:

- `change_sources` (Block Set, Min: 1, Max: 4) Set of change sources for the monitored service. (see [below for nested schema](#nestedblock--request--change_sources))
- `environment_ref` (String) Environment in which the service is deployed.
- `health_sources` (Block Set, Min: 1, Max: 16) Set of health sources for the monitored service. (see [below for nested schema](#nestedblock--request--health_sources))
- `name` (String) Name for the monitored service.
- `service_ref` (String) Service reference for the monitored service.
- `type` (String) Type of the monitored service.
Expand All @@ -115,6 +113,8 @@ Optional:
- `tags` (Set of String) Tags for the monitored service. comma-separated key value string pairs.
- `template_ref` (String) Template reference for the monitored service.
- `version_label` (String) Template version label for the monitored service.
- `change_sources` (Block Set) Set of change sources for the monitored service. (see [below for nested schema](#nestedblock--request--change_sources))
- `health_sources` (Block Set) Set of health sources for the monitored service. (see [below for nested schema](#nestedblock--request--health_sources))

<a id="nestedblock--request--change_sources"></a>
### Nested Schema for `request.change_sources`
Expand Down