From d4e47ef24261a77f42e0b71a598e0917d1959a22 Mon Sep 17 00:00:00 2001 From: Daniel Morris Date: Tue, 31 Jan 2023 07:41:12 +0000 Subject: [PATCH] Update changelog for v1.2.0 --- CHANGELOG.md | 5 +++++ README.md | 2 +- examples/complete/variables.tf | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 72c08a9..eabbe6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ Notable changes to this project are documented in this changelog. This project adheres to the [semantic versioning] specification. +## [1.2.0] – 2023-01-31 + +- Add support for wildcards in GitHub repository names ([b55b33f](https://github.com/unfunco/terraform-aws-oidc-github/commit/b55b33f12c2bd4255d0c2ae6a8a7f4cfa2fdaca9)) + ## [1.1.1] – 2022-11-15 - Support TLS provider versions >= 3 ([710428f](https://github.com/unfunco/terraform-aws-oidc-github/commit/710428f4b6ef4e7a5b505f46a053a62c15d3e01c)) @@ -86,4 +90,5 @@ This project adheres to the [semantic versioning] specification. [1.0.0]: https://github.com/unfunco/terraform-aws-oidc-github/compare/v0.8.0...v1.0.0 [1.1.0]: https://github.com/unfunco/terraform-aws-oidc-github/compare/v1.0.0...v1.1.0 [1.1.1]: https://github.com/unfunco/terraform-aws-oidc-github/compare/v1.1.0...v1.1.1 +[1.2.0]: https://github.com/unfunco/terraform-aws-oidc-github/compare/v1.1.1...v1.2.0 [semantic versioning]: https://semver.org diff --git a/README.md b/README.md index be2c0c2..e0f9c7e 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ provider "aws" { module "oidc_github" { source = "unfunco/oidc-github/aws" - version = "1.1.1" + version = "1.2.0" github_repositories = [ "org/repo", diff --git a/examples/complete/variables.tf b/examples/complete/variables.tf index 8976979..ad448f1 100644 --- a/examples/complete/variables.tf +++ b/examples/complete/variables.tf @@ -37,7 +37,7 @@ variable "github_repositories" { // organization/repository format used by GitHub. condition = length([ for repo in var.github_repositories : 1 - if length(regexall("^[A-Za-z0-9_.-]+?/([A-Za-z0-9_.:/-]+|\\*)$", repo)) > 0 + if length(regexall("^[A-Za-z0-9_.-]+?/([A-Za-z0-9_.:/-]+[*]?|\\*)$", repo)) > 0 ]) == length(var.github_repositories) error_message = "Repositories must be specified in the organization/repository format." }