-
-
Notifications
You must be signed in to change notification settings - Fork 223
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgraded module to support Terraform 0.12 (#6)
- Loading branch information
1 parent
0d48cbd
commit ca8497c
Showing
17 changed files
with
239 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{{ if .Versions -}} | ||
<a name="unreleased"></a> | ||
## [Unreleased] | ||
{{ if .Unreleased.CommitGroups -}} | ||
{{ range .Unreleased.CommitGroups -}} | ||
### {{ .Title }} | ||
{{ range .Commits -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} | ||
{{ end }} | ||
{{ end -}} | ||
{{ else }} | ||
{{ range .Unreleased.Commits -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} | ||
{{ end }} | ||
{{ end -}} | ||
{{ end -}} | ||
|
||
{{ range .Versions }} | ||
<a name="{{ .Tag.Name }}"></a> | ||
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }} | ||
{{ if .CommitGroups -}} | ||
{{ range .CommitGroups -}} | ||
### {{ .Title }} | ||
{{ range .Commits -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} | ||
{{ end }} | ||
{{ end -}} | ||
{{ else }} | ||
{{ range .Commits -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} | ||
{{ end }} | ||
{{ end -}} | ||
|
||
{{- if .NoteGroups -}} | ||
{{ range .NoteGroups -}} | ||
### {{ .Title }} | ||
{{ range .Notes }} | ||
{{ .Body }} | ||
{{ end }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
|
||
{{- if .Versions }} | ||
[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD | ||
{{ range .Versions -}} | ||
{{ if .Tag.Previous -}} | ||
[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
style: github | ||
template: CHANGELOG.tpl.md | ||
info: | ||
title: CHANGELOG | ||
repository_url: https://github.com/terraform-aws-modules/terraform-aws-sqs | ||
options: | ||
header: | ||
pattern: "^(.*)$" | ||
pattern_maps: | ||
- Subject |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
repos: | ||
- repo: git://github.com/antonbabenko/pre-commit-terraform | ||
rev: v1.7.3 | ||
rev: v1.12.0 | ||
hooks: | ||
- id: terraform_fmt | ||
- id: terraform_docs | ||
# - id: terraform_docs | ||
- repo: git://github.com/pre-commit/pre-commit-hooks | ||
rev: v1.3.0 | ||
rev: v2.2.3 | ||
hooks: | ||
- id: check-merge-conflict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<a name="unreleased"></a> | ||
## [Unreleased] | ||
|
||
|
||
|
||
<a name="v2.0.0"></a> | ||
## [v2.0.0] - 0001-01-01 | ||
|
||
|
||
|
||
<a name="v1.2.1"></a> | ||
## [v1.2.1] - 2018-06-05 | ||
|
||
- Create SQS queues correctly (fixes [#4](https://github.com/terraform-aws-modules/terraform-aws-sqs/issues/4)) | ||
|
||
|
||
<a name="v1.2.0"></a> | ||
## [v1.2.0] - 2018-06-04 | ||
|
||
- Merge pull request [#3](https://github.com/terraform-aws-modules/terraform-aws-sqs/issues/3) from terraform-aws-modules/fix-kms-queues | ||
- Fix usage of KMS key in count | ||
|
||
|
||
<a name="v1.1.0"></a> | ||
## [v1.1.0] - 2018-05-16 | ||
|
||
- Added pre-commit hook to autogenerate terraform-docs | ||
|
||
|
||
<a name="v1.0.0"></a> | ||
## [v1.0.0] - 2018-02-23 | ||
|
||
- Fixed conditional creation rule | ||
- Changed default value for content_based_deduplication to false | ||
- Fixed styling | ||
- Added sqs module | ||
|
||
|
||
<a name="v0.0.2"></a> | ||
## [v0.0.2] - 2017-09-26 | ||
|
||
|
||
|
||
<a name="v0.0.1"></a> | ||
## v0.0.1 - 2017-09-26 | ||
|
||
- Initial commit | ||
- Initial commit | ||
|
||
|
||
[Unreleased]: https://github.com/terraform-aws-modules/terraform-aws-sqs/compare/v2.0.0...HEAD | ||
[v2.0.0]: https://github.com/terraform-aws-modules/terraform-aws-sqs/compare/v1.2.1...v2.0.0 | ||
[v1.2.1]: https://github.com/terraform-aws-modules/terraform-aws-sqs/compare/v1.2.0...v1.2.1 | ||
[v1.2.0]: https://github.com/terraform-aws-modules/terraform-aws-sqs/compare/v1.1.0...v1.2.0 | ||
[v1.1.0]: https://github.com/terraform-aws-modules/terraform-aws-sqs/compare/v1.0.0...v1.1.0 | ||
[v1.0.0]: https://github.com/terraform-aws-modules/terraform-aws-sqs/compare/v0.0.2...v1.0.0 | ||
[v0.0.2]: https://github.com/terraform-aws-modules/terraform-aws-sqs/compare/v0.0.1...v0.0.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.PHONY: changelog release | ||
|
||
changelog: | ||
git-chglog -o CHANGELOG.md --next-tag `semtag final -s minor -o` | ||
|
||
release: | ||
semtag final -s minor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
provider "aws" { | ||
region = "eu-west-1" | ||
} | ||
|
||
resource "aws_kms_key" "this" {} | ||
|
||
module "users_unencrypted" { | ||
source = "../../" | ||
|
||
name = "users-unencrypted" | ||
|
||
tags = { | ||
Secure = "false" | ||
} | ||
} | ||
|
||
module "users_encrypted" { | ||
source = "../../" | ||
|
||
name_prefix = "users-encrypted-" | ||
|
||
kms_master_key_id = aws_kms_key.this.id | ||
|
||
tags = { | ||
Secure = "true" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
output "users_unencrypted_this_sqs_queue_id" { | ||
description = "The URL for the created Amazon SQS queue" | ||
value = module.users_unencrypted.this_sqs_queue_id | ||
} | ||
|
||
output "users_unencrypted_this_sqs_queue_arn" { | ||
description = "The ARN of the SQS queue" | ||
value = module.users_unencrypted.this_sqs_queue_arn | ||
} | ||
|
||
output "users_encrypted_this_sqs_queue_id" { | ||
description = "The URL for the created Amazon SQS queue" | ||
value = module.users_encrypted.this_sqs_queue_id | ||
} | ||
|
||
output "users_encrypted_this_sqs_queue_arn" { | ||
description = "The ARN of the SQS queue" | ||
value = module.users_encrypted.this_sqs_queue_arn | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.