Skip to content

Commit 9f3f601

Browse files
Merge pull request #123 from mineiros-io/soerenmartius/fix-app-installations
Fix type of var.app_installations
2 parents 5eaaad1 + 001309a commit 9f3f601

File tree

5 files changed

+14
-7
lines changed

5 files changed

+14
-7
lines changed

CHANGELOG.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.16.2]
11+
12+
### Fixed
13+
14+
- `var.app_installations` should be a of type `set(string)` instead of `set(number)`
15+
1016
## [0.16.1]
1117

1218
### Added
@@ -374,7 +380,8 @@ Please review plans and report regressions and issues asap so we can improve doc
374380
- This is the initial release of our GitHub Repository module with support for
375381
creating and managing GitHub Repositories for Organizations.
376382

377-
[unreleased]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.16.1...HEAD
383+
[unreleased]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.16.2...HEAD
384+
[0.16.2]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.16.1...v0.16.2
378385
[0.16.1]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.16.0...v0.16.1
379386
[0.16.0]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.15.0...v0.16.0
380387
[0.15.0]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.14.0...v0.15.0

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ This is due to some terraform limitation and we will update the module once terr
811811

812812
#### App Installations
813813

814-
- [**`app_installations`**](#var-app_installations): *(Optional `set(number)`)*<a name="var-app_installations"></a>
814+
- [**`app_installations`**](#var-app_installations): *(Optional `set(string)`)*<a name="var-app_installations"></a>
815815

816816
A set of GitHub App IDs to be installed in this repository.
817817

@@ -820,7 +820,7 @@ This is due to some terraform limitation and we will update the module once terr
820820
Example:
821821

822822
```hcl
823-
app_installations = [25405144, 12556423]
823+
app_installations = ["05405144", "12556423"]
824824
```
825825

826826
### Module Configuration

README.tfdoc.hcl

+2-2
Original file line numberDiff line numberDiff line change
@@ -1057,14 +1057,14 @@ section {
10571057
title = "App Installations"
10581058

10591059
variable "app_installations" {
1060-
type = set(number)
1060+
type = set(string)
10611061
default = {}
10621062
description = <<-END
10631063
A set of GitHub App IDs to be installed in this repository.
10641064
END
10651065

10661066
readme_example = <<-END
1067-
app_installations = [25405144, 12556423]
1067+
app_installations = ["05405144", "12556423"]
10681068
END
10691069
}
10701070
}

test/unit-complete/variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ variable "autolink_references" {
257257
}
258258

259259
variable "app_installations" {
260-
type = set(number)
260+
type = set(string)
261261
description = "A list of GitHub App IDs to be installed in this repository."
262262
default = []
263263
}

variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ variable "archive_on_destroy" {
529529
}
530530

531531
variable "app_installations" {
532-
type = set(number)
532+
type = set(string)
533533
description = "(Optional) A list of GitHub App IDs to be installed in this repository."
534534
default = []
535535
}

0 commit comments

Comments
 (0)