diff --git a/CHANGELOG.md b/CHANGELOG.md index 07d5f394c..e96279bc4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +## 0.1.7 +FEATURES: +* **New Resource** `azuredevops_team ` [#121](https://github.com/microsoft/terraform-provider-azuredevops/issues/121) +* **New Resource** `azuredevops_team_members` [#121](https://github.com/microsoft/terraform-provider-azuredevops/issues/121) +* **New Resource** `azuredevops_team_administrators` [#121](https://github.com/microsoft/terraform-provider-azuredevops/issues/121) +* **New Resource** `azuredevops_repository_policy_case_enforcement` [#113](https://github.com/microsoft/terraform-provider-azuredevops/issues/113) +* **New Resource** `azuredevops_repository_policy_reserved_names` [#113](https://github.com/microsoft/terraform-provider-azuredevops/issues/113) +* **New Resource** `azuredevops_repository_policy_max_path_length` [#113](https://github.com/microsoft/terraform-provider-azuredevops/issues/113) +* **New Resource** `azuredevops_repository_policy_max_file_size` [#113](https://github.com/microsoft/terraform-provider-azuredevops/issues/113) +* **New Resource** `azuredevops_repository_policy_check_credentials` [#113](https://github.com/microsoft/terraform-provider-azuredevops/issues/113) +* **New Data Resource** `azuredevops_team` [#121](https://github.com/microsoft/terraform-provider-azuredevops/issues/121) +* **New Data Resource** `azuredevops_teams` [#121](https://github.com/microsoft/terraform-provider-azuredevops/issues/121) + +BREAKING CHANGES: +* **Resource** `azuredevops_repository_policy_author_email_pattern` - Remove `settings` and `scope`, policy `scope` can be set by [repository ID](https://github.com/microsoft/terraform-provider-azuredevops/blob/master/website/docs/r/repository_policy_author_email_pattern.html.markdown) [#436](https://github.com/microsoft/terraform-provider-azuredevops/issues/436) +* **Resource** `azuredevops_repository_policy_file_path_pattern` - Remove `settings` and `scope`, policy `scope` can be set by [repository ID](https://github.com/microsoft/terraform-provider-azuredevops/blob/master/website/docs/r/repository_policy_file_path_pattern.html.markdown) [#436](https://github.com/microsoft/terraform-provider-azuredevops/issues/436) + ## 0.1.6 FEATURES: * **New Resource** `serviceendpoint_generic` [#402](https://github.com/microsoft/terraform-provider-azuredevops/issues/402) diff --git a/website/docs/r/repository_policy_author_email_pattern.html.markdown b/website/docs/r/repository_policy_author_email_pattern.html.markdown index ae63bdab8..61411bc32 100644 --- a/website/docs/r/repository_policy_author_email_pattern.html.markdown +++ b/website/docs/r/repository_policy_author_email_pattern.html.markdown @@ -29,7 +29,6 @@ resource "azuredevops_git_repository" "r" { resource "azuredevops_repository_policy_author_email_pattern" "p" { project_id = azuredevops_project.p.id - enabled = true blocking = true author_email_patterns = ["user1@test.com", "user2@test.com"] @@ -41,7 +40,6 @@ resource "azuredevops_repository_policy_author_email_pattern" "p" { ```hcl resource "azuredevops_repository_policy_author_email_pattern" "p" { project_id = azuredevops_project.p.id - enabled = true blocking = true author_email_patterns = ["user1@test.com", "user2@test.com"] @@ -55,10 +53,6 @@ The following arguments are supported: - `project_id` - (Required) The ID of the project in which the policy will be created. - `enabled` - (Optional) A flag indicating if the policy should be enabled. Defaults to `true`. - `blocking` - (Optional) A flag indicating if the policy should be blocking. Defaults to `true`. -- `settings` - (Required) Configuration for the policy. This block must be defined exactly once. - -`settings` block supports the following: - - `author_email_patterns` - (Required) Block pushes with a commit author email that does not match the patterns. You can specify exact emails or use wildcards. Email patterns prefixed with "!" are excluded. Order is important. - `repository_ids` (Optional) Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project. diff --git a/website/docs/r/repository_policy_file_path_pattern.html.markdown b/website/docs/r/repository_policy_file_path_pattern.html.markdown index 656a5b391..aa02bd1b2 100644 --- a/website/docs/r/repository_policy_file_path_pattern.html.markdown +++ b/website/docs/r/repository_policy_file_path_pattern.html.markdown @@ -41,13 +41,9 @@ resource "azuredevops_repository_policy_file_path_pattern" "p" { ```hcl resource "azuredevops_repository_policy_file_path_pattern" "p" { project_id = azuredevops_project.p.id - enabled = true blocking = true - - settings { - filepath_patterns = ["*.go", "/home/test/*.ts"] - } + filepath_patterns = ["*.go", "/home/test/*.ts"] } ``` @@ -58,10 +54,6 @@ The following arguments are supported: - `project_id` - (Required) The ID of the project in which the policy will be created. - `enabled` - (Optional) A flag indicating if the policy should be enabled. Defaults to `true`. - `blocking` - (Optional) A flag indicating if the policy should be blocking. Defaults to `true`. -- `settings` - (Required) Configuration for the policy. This block must be defined exactly once. - -`settings` block supports the following: - - `filepath_patterns` - (Required) Block pushes from introducing file paths that match the following patterns. Exact paths begin with "/". You can specify exact paths and wildcards. You can also specify multiple paths using ";" as a separator. Paths prefixed with "!" are excluded. Order is important. - `repository_ids` (Optional) Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.