Skip to content

Commit

Permalink
docs: update change log for rum attr
Browse files Browse the repository at this point in the history
  • Loading branch information
emlanctot committed Nov 3, 2022
1 parent 2ce3336 commit 2f5e3cf
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## v0.38.0 (October 24, 2022)

FEATURES:
* r/tfe_organization: Add `allow_force_delete_workspaces` attribute to set whether admins are permitted to delete workspaces with resource under management. ([#661](https://github.com/hashicorp/terraform-provider-tfe/pull/661))
* d/tfe_oauth_client: Adds `name`, `service_provider`, `service_provider_display_name`, `organization`, `callback_url`, and `created_at` fields, and enables searching for an OAuth client with `organization`, `name`, and `service_provider`. ([#599](https://github.com/hashicorp/terraform-provider-tfe/pull/599))
* d/tfe_organization_members: Add datasource for organization_members that returns a list of active members and members with pending invite in an organization. ([#635](https://github.com/hashicorp/terraform-provider-tfe/pull/635))
* d/tfe_organization_membership: Add new argument `username` to enable fetching an organization membership by username. ([#660](https://github.com/hashicorp/terraform-provider-tfe/pull/660))
Expand Down
34 changes: 17 additions & 17 deletions tfe/resource_tfe_organization_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -379,28 +379,28 @@ resource "tfe_organization" "foobar" {
func testAccTFEOrganization_full(rInt int) string {
return fmt.Sprintf(`
resource "tfe_organization" "foobar" {
name = "tst-terraform-%d"
email = "admin@company.com"
session_timeout_minutes = 30
session_remember_minutes = 30
collaborator_auth_policy = "password"
owners_team_saml_role_id = "owners"
cost_estimation_enabled = false
assessments_enforced = false
allow_force_delete_workspaces = false
name = "tst-terraform-%d"
email = "admin@company.com"
session_timeout_minutes = 30
session_remember_minutes = 30
collaborator_auth_policy = "password"
owners_team_saml_role_id = "owners"
cost_estimation_enabled = false
assessments_enforced = false
allow_force_delete_workspaces = false
}`, rInt)
}

func testAccTFEOrganization_update(orgName string, orgEmail string, costEstimationEnabled bool, assessmentsEnforced bool, allowForceDeleteWorkspaces bool) string {
return fmt.Sprintf(`
resource "tfe_organization" "foobar" {
name = "%s"
email = "%s"
session_timeout_minutes = 3600
session_remember_minutes = 3600
owners_team_saml_role_id = "owners"
cost_estimation_enabled = %t
assessments_enforced = %t
allow_force_delete_workspaces = %t
name = "%s"
email = "%s"
session_timeout_minutes = 3600
session_remember_minutes = 3600
owners_team_saml_role_id = "owners"
cost_estimation_enabled = %t
assessments_enforced = %t
allow_force_delete_workspaces = %t
}`, orgName, orgEmail, costEstimationEnabled, assessmentsEnforced, allowForceDeleteWorkspaces)
}
2 changes: 1 addition & 1 deletion website/docs/r/organization.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The following arguments are supported:
* `cost_estimation_enabled` - (Optional) Whether or not the cost estimation feature is enabled for all workspaces in the organization. Defaults to true. In a Terraform Cloud organization which does not have Teams & Governance features, this value is always false and cannot be changed. In Terraform Enterprise, Cost Estimation must also be enabled in Site Administration.
* `send_passing_statuses_for_untriggered_speculative_plans` - (Optional) Whether or not to send VCS status updates for untriggered speculative plans. This can be useful if large numbers of untriggered workspaces are exhausting request limits for connected version control service providers like GitHub. Defaults to false. In Terraform Enterprise, this setting has no effect and cannot be changed but is also available in Site Administration.
* `assessments_enforced` - (Optional) (Available only in Terraform Cloud) Whether to force health assessments (drift detection) on all eligible workspaces or allow workspaces to set thier own preferences.
* `allow_force_delete_workspaces` - (Optional) Whether workspace administrators are permitted to delete workspaces with resources under management. If false, only organization owners may delete these workspaces. Defaults to false
* `allow_force_delete_workspaces` - (Optional) Whether workspace administrators are permitted to delete workspaces with resources under management. If false, only organization owners may delete these workspaces. Defaults to false.

## Attributes Reference

Expand Down

0 comments on commit 2f5e3cf

Please sign in to comment.