diff --git a/TERRAFORM.md b/TERRAFORM.md index bca5bd0..64d809e 100644 --- a/TERRAFORM.md +++ b/TERRAFORM.md @@ -39,7 +39,7 @@ No modules. | [attach\_read\_only\_policy](#input\_attach\_read\_only\_policy) | Attach ReadOnly policy | `bool` | `true` | no | | [create\_oidc\_provider](#input\_create\_oidc\_provider) | Create GitHub OIDC provider | `bool` | `true` | no | | [enabled](#input\_enabled) | Enable resource creation | `bool` | `true` | no | -| [force\_detach\_policies](#input\_force\_detach\_policies) | Force detach IAM policies | `string` | `false` | no | +| [force\_detach\_policies](#input\_force\_detach\_policies) | Force detach IAM policies | `bool` | `false` | no | | [github\_organisation](#input\_github\_organisation) | GitHub organisation name | `string` | n/a | yes | | [github\_repositories](#input\_github\_repositories) | GitHub repository names and branches |
list(object({|
name = string
branches = list(string)
}))
[| no | | [iam\_role\_name](#input\_iam\_role\_name) | IAM role name | `string` | `"github-actions"` | no | diff --git a/examples/complete/variables.tf b/examples/complete/variables.tf index 5f867ef..14740a7 100644 --- a/examples/complete/variables.tf +++ b/examples/complete/variables.tf @@ -31,7 +31,7 @@ variable "enabled" { variable "force_detach_policies" { default = false description = "Force detachment of policies attached to the IAM role" - type = string + type = bool } variable "github_organisation" { diff --git a/variables.tf b/variables.tf index 57b5eb0..99a7453 100644 --- a/variables.tf +++ b/variables.tf @@ -25,7 +25,7 @@ variable "enabled" { variable "force_detach_policies" { default = false description = "Force detach IAM policies" - type = string + type = bool } variable "github_organisation" {
{
"branches": null,
"name": null
}
]