Skip to content

Commit 64e074e

Browse files
Merge pull request #72 from mineiros-io/soerenmartius/terraform-1.0
Add support for Terraform v1.0
2 parents fc0c278 + 678d716 commit 64e074e

File tree

8 files changed

+20
-13
lines changed

8 files changed

+20
-13
lines changed

CHANGELOG.md

Lines changed: 10 additions & 3 deletions
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.10.0]
11+
12+
### Added
13+
14+
- Add support for Terraform `v1.0`
15+
1016
## [0.9.2]
1117

1218
### Fixed
@@ -23,7 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2329

2430
### Added
2531

26-
- Add support for Terraform v0.15
32+
- Add support for Terraform `v0.15`
2733

2834
## [0.8.0]
2935

@@ -256,11 +262,12 @@ Please review plans and report regressions and issues asap so we can improve doc
256262

257263
<!-- markdown-link-check-disable -->
258264

259-
[unreleased]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.9.2...HEAD
260-
[0.9.2]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.9.1...v0.9.2
265+
[unreleased]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.10.0...HEAD
266+
[0.10.0]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.9.2...v1.0.0
261267

262268
<!-- markdown-link-check-enable -->
263269

270+
[0.9.2]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.9.1...v0.9.2
264271
[0.9.1]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.9.0...v0.9.1
265272
[0.9.0]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.8.0...v0.9.0
266273
[0.8.0]: https://github.com/mineiros-io/terraform-github-repository/compare/v0.7.0...v0.8.0

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Set default shell to bash
22
SHELL := /bin/bash -o pipefail
33

4-
BUILD_TOOLS_VERSION ?= v0.11.0
4+
BUILD_TOOLS_VERSION ?= v0.12.0
55
BUILD_TOOLS_DOCKER_REPO ?= mineiros/build-tools
66
BUILD_TOOLS_DOCKER_IMAGE ?= ${BUILD_TOOLS_DOCKER_REPO}:${BUILD_TOOLS_VERSION}
77

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
A [Terraform] module for creating a public or private repository on [Github].
1212

13-
_This module supports Terraform v0.15, v0.14, v0.13 as well as v0.12.9 and above and is compatible with the Terraform Github Provider v4._
13+
_This module supports Terraform v1, v0.15, v0.14, v0.13 as well as v0.12.9 and above and is compatible with the Terraform Github Provider v4._
1414

1515
_The latest version being compatible with the Terraform Github Provider v3 as well as v2 was v0.7.0 of this module._
1616

@@ -93,7 +93,7 @@ Most basic usage creating a new private github repository.
9393
```hcl
9494
module "repository" {
9595
source = "mineiros-io/repository/github"
96-
version = "~> 0.9.0"
96+
version = "~> 0.10.0"
9797
9898
name = "terraform-github-repository"
9999
license_template = "apache-2.0"
@@ -795,7 +795,7 @@ Copyright &copy; 2020 [Mineiros GmbH][homepage]
795795
[badge-build]: https://github.com/mineiros-io/terraform-github-repository/workflows/CI/CD%20Pipeline/badge.svg
796796
[badge-semver]: https://img.shields.io/github/v/tag/mineiros-io/terraform-github-repository.svg?label=latest&sort=semver
797797
[badge-license]: https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg
798-
[badge-terraform]: https://img.shields.io/badge/terraform-0.15%20|0.14%20|%200.13%20|%200.12.20+-623CE4.svg?logo=terraform
798+
[badge-terraform]: https://img.shields.io/badge/terraform-1.x%20|0.15%20|0.14%20|%200.13%20|%200.12.20+-623CE4.svg?logo=terraform
799799
[badge-slack]: https://img.shields.io/badge/[email protected]?logo=slack
800800
[badge-tf-gh]: https://img.shields.io/badge/GH-4-F8991D.svg?logo=terraform
801801
[releases-github-provider]: https://github.com/terraform-providers/terraform-provider-github/releases

examples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
[homepage]: https://mineiros.io/?ref=terraform-github-repository
1616
[badge-license]: https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg
17-
[badge-terraform]: https://img.shields.io/badge/terraform-0.13%20and%200.12.20+-623CE4.svg?logo=terraform
17+
[badge-terraform]: https://img.shields.io/badge/terraform-1.x%20|0.15%20|0.14%20|%200.13%20|%200.12.20+-623CE4.svg?logo=terraform
1818
[badge-slack]: https://img.shields.io/badge/[email protected]?logo=slack
1919
[badge-semver]: https://img.shields.io/github/v/tag/mineiros-io/terraform-github-repository.svg?label=latest&sort=semver
2020
[releases-github]: https://github.com/mineiros-io/terraform-github-repository/releases

examples/public-repository/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ branch protection.
1515
```hcl
1616
module "repository" {
1717
source = "mineiros-io/repository/github"
18-
version = "~> 0.9.0"
18+
version = "~> 0.10.0"
1919
2020
module_depends_on = [
2121
github_team.team
@@ -116,7 +116,7 @@ Run `terraform destroy` to destroy all resources again.
116116

117117
[homepage]: https://mineiros.io/?ref=terraform-github-repository
118118
[badge-license]: https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg
119-
[badge-terraform]: https://img.shields.io/badge/terraform-0.13%20and%200.12.20+-623CE4.svg?logo=terraform
119+
[badge-terraform]: https://img.shields.io/badge/terraform-1.x%20|0.15%20|0.14%20|%200.13%20|%200.12.20+-623CE4.svg?logo=terraform
120120
[badge-slack]: https://img.shields.io/badge/[email protected]?logo=slack
121121
[releases-terraform]: https://github.com/hashicorp/terraform/releases
122122
[apache20]: https://opensource.org/licenses/Apache-2.0

examples/public-repository/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
module "repository" {
99
source = "mineiros-io/repository/github"
10-
version = "~> 0.9.0"
10+
version = "~> 0.10.0"
1111

1212
module_depends_on = [
1313
github_team.team

test/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Alternatively, you can also run the tests without Docker.
7171
[go]: https://golang.org/
7272
[terraform]: https://www.terraform.io/downloads.html
7373
[badge-license]: https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg
74-
[badge-terraform]: https://img.shields.io/badge/terraform-0.13%20and%200.12.20+-623CE4.svg?logo=terraform
74+
[badge-terraform]: https://img.shields.io/badge/terraform-1.x%20|0.15%20|0.14%20|%200.13%20|%200.12.20+-623CE4.svg?logo=terraform
7575
[badge-slack]: https://img.shields.io/badge/[email protected]?logo=slack
7676
[releases-terraform]: https://github.com/hashicorp/terraform/releases
7777
[apache20]: https://opensource.org/licenses/Apache-2.0

versions.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# ---------------------------------------------------------------------------------------------------------------------
44

55
terraform {
6-
required_version = ">= 0.12.20, < 0.16"
6+
required_version = ">= 0.12.20, < 2.0"
77

88
# 4.7.0 to 4.9.1 has a security regression: new repositories created via a
99
# template have a public visibility. Has been fixed in 4.9.2.

0 commit comments

Comments
 (0)