diff --git a/README.md b/README.md
index a47e3f1..ce8b7f1 100644
--- a/README.md
+++ b/README.md
@@ -81,7 +81,6 @@ module "github_repository" {
has_issues = true
has_projects = true
has_wiki = true
- has_downloads = true
is_template = false
}
```
@@ -179,13 +178,11 @@ Here is an example of using this module:
| [fork](#input\_fork) | Configuration for forking an existing repository |
object({
source_owner = string
source_repo = string
}) | `null` | no |
| [gitignore\_template](#input\_gitignore\_template) | Gitignore template | `string` | `null` | no |
| [has\_discussions](#input\_has\_discussions) | Whether the repository has discussions enabled | `bool` | `false` | no |
-| [has\_downloads](#input\_has\_downloads) | (DEPRECATED) Whether the repository has downloads enabled. This attribute is deprecated by GitHub and will be removed in a future version of this module. | `bool` | `false` | no |
| [has\_issues](#input\_has\_issues) | Whether the repository has issues enabled | `bool` | `false` | no |
| [has\_projects](#input\_has\_projects) | Whether the repository has projects enabled | `bool` | `false` | no |
| [has\_wiki](#input\_has\_wiki) | Whether the repository has wiki enabled | `bool` | `false` | no |
| [homepage\_url](#input\_homepage\_url) | Homepage URL of the repository | `string` | `null` | no |
| [id\_length\_limit](#input\_id\_length\_limit) | Limit `id` to this many characters (minimum 6).
Set to `0` for unlimited length.
Set to `null` for keep the existing setting, which defaults to `0`.
Does not affect `id_full`. | `number` | `null` | no |
-| [ignore\_vulnerability\_alerts\_during\_read](#input\_ignore\_vulnerability\_alerts\_during\_read) | Ignore vulnerability alerts during read | `bool` | `false` | no |
| [is\_template](#input\_is\_template) | Whether the repository is a template | `bool` | `false` | no |
| [label\_key\_case](#input\_label\_key\_case) | Controls the letter case of the `tags` keys (label names) for tags generated by this module.
Does not affect keys of tags passed in via the `tags` input.
Possible values: `lower`, `title`, `upper`.
Default value: `title`. | `string` | `null` | no |
| [label\_order](#input\_label\_order) | The order in which the labels (ID elements) appear in the `id`.
Defaults to ["namespace", "environment", "stage", "name", "attributes"].
You can omit any of the 6 labels ("tenant" is the 6th), but at least one must be present. | `list(string)` | `null` | no |
diff --git a/README.yaml b/README.yaml
index 29ce6ea..1655710 100644
--- a/README.yaml
+++ b/README.yaml
@@ -95,7 +95,6 @@ usage: |-
has_issues = true
has_projects = true
has_wiki = true
- has_downloads = true
is_template = false
}
```
diff --git a/examples/complete/fixtures.us-east-2.tfvars b/examples/complete/fixtures.us-east-2.tfvars
index 226a666..027cf32 100644
--- a/examples/complete/fixtures.us-east-2.tfvars
+++ b/examples/complete/fixtures.us-east-2.tfvars
@@ -1,30 +1,29 @@
owner = "cloudposse-tests"
-description = "Terraform acceptance tests"
-homepage_url = "http://example.com/"
-archived = false
-has_issues = true
-has_discussions = true
-has_projects = true
-has_wiki = true
-is_template = true
-allow_merge_commit = true
-merge_commit_title = "MERGE_MESSAGE"
-merge_commit_message = "PR_TITLE"
-allow_squash_merge = true
-squash_merge_commit_title = "COMMIT_OR_PR_TITLE"
-squash_merge_commit_message = "COMMIT_MESSAGES"
-web_commit_signoff_required = true
-allow_rebase_merge = true
-allow_auto_merge = true
-delete_branch_on_merge = true
-default_branch = "main"
-gitignore_template = "TeX"
-license_template = "GPL-3.0"
-auto_init = true
-topics = ["terraform", "github", "test"]
-ignore_vulnerability_alerts_during_read = true
-allow_update_branch = true
+description = "Terraform acceptance tests"
+homepage_url = "http://example.com/"
+archived = false
+has_issues = true
+has_discussions = true
+has_projects = true
+has_wiki = true
+is_template = true
+allow_merge_commit = true
+merge_commit_title = "MERGE_MESSAGE"
+merge_commit_message = "PR_TITLE"
+allow_squash_merge = true
+squash_merge_commit_title = "COMMIT_OR_PR_TITLE"
+squash_merge_commit_message = "COMMIT_MESSAGES"
+web_commit_signoff_required = true
+allow_rebase_merge = true
+allow_auto_merge = true
+delete_branch_on_merge = true
+default_branch = "main"
+gitignore_template = "TeX"
+license_template = "GPL-3.0"
+auto_init = true
+topics = ["terraform", "github", "test"]
+allow_update_branch = true
security_and_analysis = {
advanced_security = false
diff --git a/examples/complete/main.tf b/examples/complete/main.tf
index 0f3f08d..c506e2d 100644
--- a/examples/complete/main.tf
+++ b/examples/complete/main.tf
@@ -44,8 +44,6 @@ module "example" {
web_commit_signoff_required = var.web_commit_signoff_required
- ignore_vulnerability_alerts_during_read = var.ignore_vulnerability_alerts_during_read
-
autolink_references = var.autolink_references
default_branch = var.default_branch
enable_vulnerability_alerts = var.enable_vulnerability_alerts
diff --git a/examples/complete/variables.tf b/examples/complete/variables.tf
index 8bbc989..f606235 100644
--- a/examples/complete/variables.tf
+++ b/examples/complete/variables.tf
@@ -191,12 +191,6 @@ variable "auto_init" {
default = false
}
-variable "ignore_vulnerability_alerts_during_read" {
- description = "Ignore vulnerability alerts during read"
- type = bool
- default = false
-}
-
variable "enable_vulnerability_alerts" {
description = "Enable vulnerability alerts"
type = bool
diff --git a/examples/minimum/main.tf b/examples/minimum/main.tf
index 8cd0e66..1c5080b 100644
--- a/examples/minimum/main.tf
+++ b/examples/minimum/main.tf
@@ -43,8 +43,6 @@ module "example" {
web_commit_signoff_required = var.web_commit_signoff_required
- ignore_vulnerability_alerts_during_read = var.ignore_vulnerability_alerts_during_read
-
autolink_references = var.autolink_references
default_branch = var.default_branch
enable_vulnerability_alerts = var.enable_vulnerability_alerts
diff --git a/examples/minimum/variables.tf b/examples/minimum/variables.tf
index e7efa02..10b9357 100644
--- a/examples/minimum/variables.tf
+++ b/examples/minimum/variables.tf
@@ -182,12 +182,6 @@ variable "auto_init" {
default = false
}
-variable "ignore_vulnerability_alerts_during_read" {
- description = "Ignore vulnerability alerts during read"
- type = bool
- default = false
-}
-
variable "enable_vulnerability_alerts" {
description = "Enable vulnerability alerts"
type = bool
diff --git a/main.tf b/main.tf
index 193c771..1956001 100644
--- a/main.tf
+++ b/main.tf
@@ -55,8 +55,6 @@ resource "github_repository" "default" {
vulnerability_alerts = var.visibility != "public" ? var.enable_vulnerability_alerts : true
- ignore_vulnerability_alerts_during_read = var.ignore_vulnerability_alerts_during_read
-
dynamic "security_and_analysis" {
for_each = var.security_and_analysis != null ? [var.security_and_analysis] : []
content {
@@ -621,10 +619,3 @@ resource "github_repository_ruleset" "default" {
github_repository_environment.default
]
}
-
-check "has_downloads_deprecation" {
- assert {
- condition = var.has_downloads == false
- error_message = "DEPRECATION WARNING: The 'has_downloads' variable is deprecated. GitHub has removed this feature and this variable will be removed in a future version of this module. Please remove 'has_downloads' from your configuration."
- }
-}
diff --git a/variables.tf b/variables.tf
index 05528d8..f576c9b 100644
--- a/variables.tf
+++ b/variables.tf
@@ -70,12 +70,6 @@ variable "has_wiki" {
default = false
}
-variable "has_downloads" {
- description = "(DEPRECATED) Whether the repository has downloads enabled. This attribute is deprecated by GitHub and will be removed in a future version of this module."
- type = bool
- default = false
-}
-
variable "is_template" {
description = "Whether the repository is a template"
type = bool
@@ -192,12 +186,6 @@ variable "auto_init" {
default = false
}
-variable "ignore_vulnerability_alerts_during_read" {
- description = "Ignore vulnerability alerts during read"
- type = bool
- default = false
-}
-
variable "enable_vulnerability_alerts" {
description = "Enable vulnerability alerts"
type = bool