-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
honeycombio_burn_alert - migrate resource to Plugin Framework (#346)
In a similar fashion to the work done for v0.15.0 for `honeycombio_trigger`, this migrates `honeycombio_burn_alert` to the ~new Plugin Framework to squash the similar set of bugs and annoyances around `recipient` blocks. Closes #263, #322
- Loading branch information
Showing
12 changed files
with
544 additions
and
487 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package models | ||
|
||
import "github.com/hashicorp/terraform-plugin-framework/types" | ||
|
||
type BurnAlertResourceModel struct { | ||
ID types.String `tfsdk:"id"` | ||
Dataset types.String `tfsdk:"dataset"` | ||
SLOID types.String `tfsdk:"slo_id"` | ||
ExhaustionMinutes types.Int64 `tfsdk:"exhaustion_minutes"` | ||
Recipients []NotificationRecipientModel `tfsdk:"recipient"` | ||
} |
Oops, something went wrong.