You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added `opslevel_campaign` resource for managing OpsLevel campaigns as code, including scheduling support. Also added `opslevel_campaign` and `opslevel_campaigns` data sources.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,9 @@
2
2
All notable changes to this project will be documented in this file.
3
3
4
4
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
-
and is generated by [Changie](https://github.com/miniscruff/changie).## v1.10.1 - [May 05, 2026](https://github.com/OpsLevel/terraform-provider-opslevel/compare/v1.10.0...v1.10.1)
5
+
and is generated by [Changie](https://github.com/miniscruff/changie).## v1.11.0 - [May 20, 2026](https://github.com/OpsLevel/terraform-provider-opslevel/compare/v1.10.1...v1.11.0)
6
+
### Added
7
+
* Added `opslevel_campaign` resource for managing OpsLevel campaigns as code, including scheduling support. Also added `opslevel_campaign` and `opslevel_campaigns` data sources.## v1.10.1 - [May 05, 2026](https://github.com/OpsLevel/terraform-provider-opslevel/compare/v1.10.0...v1.10.1)
6
8
### Fixed
7
9
* Fixed `opslevel_service` dropping `preferred_api_document_source` after apply when `api_document_path` was not set, which caused a "Provider produced inconsistent result after apply" error## v1.10.0 - [April 21, 2026](https://github.com/OpsLevel/terraform-provider-opslevel/compare/v1.9.1...v1.10.0)
Manages an OpsLevel campaign. Campaigns allow you to roll out changes across your engineering organization that require orchestrated effort across multiple teams.
All Tier 1 services must pass SOC2 checks by end of Q3.
62
-
EOT
63
-
}
64
-
```
65
-
66
-
### Scheduled campaign
67
-
68
-
```terraform
69
-
resource "opslevel_campaign" "python_upgrade" {
70
-
name = "Upgrade to Python 3.12"
71
-
owner_id = data.opslevel_team.platform.id
72
-
filter_id = data.opslevel_filter.tier_1.id
73
-
74
-
start_date = "2026-07-01"
75
-
target_date = "2026-09-30"
76
-
77
-
project_brief = <<-EOT
78
-
Upgrade all Python services to 3.12 for security and performance.
79
-
EOT
80
-
}
81
-
```
82
-
83
-
## Check Management
84
-
85
-
The `check_ids` attribute accepts a list of rubric check IDs. On create, these checks are copied into the campaign. On update, the provider reconciles the list — adding new checks and removing stale ones to match the desired configuration.
86
-
87
-
Terraform detects drift: if a check is removed from the campaign outside of Terraform (e.g. via the UI), the next `terraform plan` will show it as needing to be re-added.
88
-
89
-
~> **Note:** The OpsLevel API copies checks into campaigns as separate instances with different IDs but the same name. The provider matches rubric checks to campaign checks by name. If two rubric checks share the same name, the provider may not be able to distinguish them, which can lead to incorrect removal. Ensure rubric check names are unique when using `check_ids`.
90
-
91
-
## Schedule Management
92
-
93
-
Setting both `start_date` and `target_date` schedules the campaign. Removing both fields unschedules it back to draft status.
94
-
95
-
Both fields must be set together — setting only one will result in an error.
0 commit comments