Skip to content

Commit

Permalink
Merge pull request #5 from lorengordon/fix/json-minify
Browse files Browse the repository at this point in the history
  • Loading branch information
lorengordon authored Sep 19, 2023
2 parents f12c694 + d986984 commit b41daef
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.0.1
current_version = 1.0.2
commit = True
message = Bumps version to {new_version}
tag = False
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

### [1.0.2](https://github.com/plus3it/terraform-aws-organizations-policy/releases/tag/1.0.2)

**Released**: 2023.09.19

**Summary**:

* Minifies the policy content to maximize policy space

### [1.0.1](https://github.com/plus3it/terraform-aws-organizations-policy/releases/tag/1.0.1)

**Released**: 2023.09.14
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ resource "aws_organizations_policy" "this" {
count = var.policy.create_policy ? 1 : 0

name = var.policy.name
content = var.policy.content
content = jsonencode(jsondecode(var.policy.content))

description = var.policy.description
skip_destroy = var.policy.skip_destroy
Expand Down

0 comments on commit b41daef

Please sign in to comment.