Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
7ee5867
TEMP: add replace until go-tfe release
jfreda Dec 7, 2024
afb433b
Add missing method
jfreda Dec 7, 2024
ef53a92
Add tfe_team_notification_configuration resource
jfreda Dec 7, 2024
d58284e
Update CHANGELOG
jfreda Dec 7, 2024
90bbd46
base on latest go-tfe changes, update structs
notchairmk Jan 8, 2025
59cdca7
Merge remote-tracking branch 'origin/main' into jfreda/add-team-notif…
notchairmk Jan 8, 2025
0ee9d4b
fix: using polymorphic field when creating
notchairmk Jan 8, 2025
f8323ca
use business org for tests
notchairmk Jan 8, 2025
28ede15
update test configs
notchairmk Jan 8, 2025
e68f08c
Merge remote-tracking branch 'origin/main' into jfreda/add-team-notif…
notchairmk Jan 9, 2025
e66e065
fix lint
notchairmk Jan 10, 2025
42a4b5f
fix: allow tests with premium entitlement orgs
notchairmk Jan 10, 2025
ee5f134
skip tests that interact with API
notchairmk Jan 10, 2025
e207181
skip additional team notification tests
notchairmk Jan 10, 2025
8909002
Merge remote-tracking branch 'origin/main' into jfreda/add-team-notif…
notchairmk Jan 10, 2025
ed5979e
consolidate new validators
notchairmk Jan 15, 2025
55049e9
update team notification docs example to add user to team
notchairmk Jan 16, 2025
c0c6a00
update docs and use known length for slices
notchairmk Jan 17, 2025
49806ea
expose diagnostics when parsing model
notchairmk Jan 17, 2025
ce8630a
fix lint
notchairmk Jan 17, 2025
81c93cb
Merge branch 'main' into jfreda/add-team-notification-cfg-resource
barrettclark Jan 22, 2025
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.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## Unreleased

FEATURES:
* **New Resource:** `tfe_team_notification_configuration` is a new resource for managing team notification configurations, by @jfreda ([#1540](https://github.com/hashicorp/terraform-provider-tfe/pull/1540))

## v0.62.0

FEATURES:
Expand Down
11 changes: 11 additions & 0 deletions internal/provider/helper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,17 @@ func createBusinessOrganization(t *testing.T, client *tfe.Client) (*tfe.Organiza
return org, orgCleanup
}

func createPlusOrganization(t *testing.T, client *tfe.Client) (*tfe.Organization, func()) {
org, orgCleanup := createOrganization(t, client, tfe.OrganizationCreateOptions{
Name: tfe.String("tst-" + randomString(t)),
Email: tfe.String(fmt.Sprintf("%[email protected]", randomString(t))),
})

newSubscriptionUpdater(org).WithPlusEntitlementPlan().Update(t)

return org, orgCleanup
}

func createTrialOrganization(t *testing.T, client *tfe.Client) (*tfe.Organization, func()) {
org, orgCleanup := createOrganization(t, client, tfe.OrganizationCreateOptions{
Name: tfe.String("tst-" + randomString(t)),
Expand Down
1 change: 1 addition & 0 deletions internal/provider/provider_next.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ func (p *frameworkProvider) Resources(ctx context.Context) []func() resource.Res
NewResourceWorkspaceSettings,
NewSAMLSettingsResource,
NewStackResource,
NewTeamNotificationConfigurationResource,
NewTestVariableResource,
NewWorkspaceRunTaskResource,
}
Expand Down
Loading
Loading