Skip to content

Releases: ministryofjustice/modernisation-platform-terraform-environments

v6.0.0

16 Jun 14:56
b17ca8d
Compare
Choose a tag to compare

Breaking Changes

  • AWS Provider constraint is now set to ~> 5.x.
  • This will conflict with modules that enforce a constraint of ~> 4.x. You can use terraform providers to show any potential conflicts.

What's Changed

  • Bump github/codeql-action from 2.2.2 to 2.2.3 by @dependabot in #44
  • Bump github/codeql-action from 2.2.3 to 2.2.4 by @dependabot in #45
  • Added code scanning workflow task by @dms1981 in #46
  • Bump actions/cache from 3.2.5 to 3.2.6 by @dependabot in #47
  • Bump bridgecrewio/checkov-action from 12.2138.0 to 12.2149.0 by @dependabot in #48
  • Ensure sarif upload runs regardless of scanning exit code by @dms1981 in #49
  • Update code-scanning to support GITHUB_TOKEN, scoped permissions, added scan exclusions by @dms1981 in #50
  • Bump bridgecrewio/checkov-action from 12.2151.0 to 12.2155.0 by @dependabot in #51
  • Bump bridgecrewio/checkov-action from 12.2155.0 to 12.2164.0 by @dependabot in #52
  • Bump github/codeql-action from 2.2.4 to 2.2.5 by @dependabot in #53
  • Bump bridgecrewio/checkov-action from 12.2164.0 to 12.2166.0 by @dependabot in #54
  • Bump bridgecrewio/checkov-action from 12.2166.0 to 12.2172.0 by @dependabot in #56
  • Bump ministryofjustice/github-actions from 10 to 11 by @dependabot in #57
  • Bump bridgecrewio/checkov-action from 12.2172.0 to 12.2180.0 by @dependabot in #58
  • Bump bridgecrewio/checkov-action from 12.2180.0 to 12.2183.0 by @dependabot in #59
  • Bump bridgecrewio/checkov-action from 12.2183.0 to 12.2184.0 by @dependabot in #60
  • Bump bridgecrewio/checkov-action from 12.2184.0 to 12.2188.0 by @dependabot in #61
  • Bump actions/cache from 3.2.6 to 3.3.0 by @dependabot in #62
  • Bump github/codeql-action from 2.2.5 to 2.2.6 by @dependabot in #63
  • Bump bridgecrewio/checkov-action from 12.2188.0 to 12.2197.0 by @dependabot in #64
  • Bump actions/cache from 3.3.0 to 3.3.1 by @dependabot in #65
  • Bump bridgecrewio/checkov-action from 12.2197.0 to 12.2201.0 by @dependabot in #66
  • Bump bridgecrewio/checkov-action from 12.2201.0 to 12.2203.0 by @dependabot in #68
  • Bump actions/checkout from 3.3.0 to 3.4.0 by @dependabot in #67
  • Bump github/codeql-action from 2.2.6 to 2.2.7 by @dependabot in #69
  • Bump bridgecrewio/checkov-action from 12.2203.0 to 12.2204.0 by @dependabot in #70
  • Bump bridgecrewio/checkov-action from 12.2204.0 to 12.2216.0 by @dependabot in #72
  • Bump github/codeql-action from 2.2.7 to 2.2.8 by @dependabot in #73
  • Bump bridgecrewio/checkov-action from 12.2216.0 to 12.2218.0 by @dependabot in #74
  • Bump bridgecrewio/checkov-action from 12.2218.0 to 12.2223.0 by @dependabot in #76
  • Bump github/codeql-action from 2.2.8 to 2.2.9 by @dependabot in #79
  • Bump bridgecrewio/checkov-action from 12.2223.0 to 12.2232.0 by @dependabot in #78
  • Bump actions/checkout from 3.4.0 to 3.5.0 by @dependabot in #77
  • Bump bridgecrewio/checkov-action from 12.2232.0 to 12.2236.0 by @dependabot in #80
  • Bump bridgecrewio/checkov-action from 12.2236.0 to 12.2242.0 by @dependabot in #82
  • Bump ossf/scorecard-action from 2.1.2 to 2.1.3 by @dependabot in #81
  • Bump bridgecrewio/checkov-action from 12.2242.0 to 12.2256.0 by @dependabot in #85
  • Bump bridgecrewio/checkov-action from 12.2256.0 to 12.2258.0 by @dependabot in #86
  • Bump github/codeql-action from 2.2.9 to 2.2.10 by @dependabot in #87
  • Bump github/codeql-action from 2.2.10 to 2.2.11 by @dependabot in #88
  • Bump bridgecrewio/checkov-action from 12.2258.0 to 12.2264.0 by @dependabot in #89
  • Bump bridgecrewio/checkov-action from 12.2264.0 to 12.2265.0 by @dependabot in #90
  • Bump actions/checkout from 3.5.0 to 3.5.1 by @dependabot in #91
  • Bump github/codeql-action from 2.2.11 to 2.2.12 by @dependabot in #92
  • Bump actions/checkout from 3.5.1 to 3.5.2 by @dependabot in #94
  • Bump bridgecrewio/checkov-action from 12.2265.0 to 12.2270.0 by @dependabot in #93
  • Bump ministryofjustice/github-actions from 11 to 12 by @dependabot in #96
  • Bump bridgecrewio/checkov-action from 12.2270.0 to 12.2280.0 by @dependabot in #95
  • Bump bridgecrewio/checkov-action from 12.2280.0 to 12.2286.0 by @dependabot in #97
  • Bump bridgecrewio/checkov-action from 12.2286.0 to 12.2289.0 by @dependabot in #98
  • Bump bridgecrewio/checkov-action from 12.2289.0 to 12.2294.0 by @dependabot in #99
  • Bump github/codeql-action from 2.2.12 to 2.3.0 by @dependabot in #100
  • Bump bridgecrewio/checkov-action from 12.2294.0 to 12.2301.0 by @dependabot in #101
  • Bump github/codeql-action from 2.3.0 to 2.3.1 by @dependabot in #102
  • Bump bridgecrewio/checkov-action from 12.2301.0 to 12.2305.0 by @dependabot in #103
  • Bump github/codeql-action from 2.3.1 to 2.3.2 by @dependabot in #104
  • Bump bridgecrewio/checkov-action from 12.2305.0 to 12.2314.0 by @dependabot in #106
  • Bump bridgecrewio/checkov-action from 12.2314.0 to 12.2316.0 by @dependabot in #107
  • Bump bridgecrewio/checkov-action from 12.2316.0 to 12.2322.0 by @dependabot in https://githu...
Read more

v5.0.3

07 Feb 14:30
a8ea85b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.0.2...v5.0.3

Fix wrong name for a local variable

12 Dec 12:59
c19aefe
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.0.1...v5.0.2

Fixed definitions of nuke outputs for > 1 access blocks

12 Dec 12:34
a25929f
Compare
Choose a tag to compare

What's Changed

  • nuke_account and rebuild_after_nuke_accounts will accept multiple access blocks. Account will only be added to the lists if access.level of any of the development access blocks is equal to sandbox
  • If multiple sandbox access blocks are defined for a development account, with multiple values for "nuke" exclude will take priority.
  • blocklist_nuke_account refactored for consistency.

Relevant Story: ministryofjustice/modernisation-platform#2400

Additionally

  • Bump github/codeql-action from 2.1.35 to 2.1.36 by @dependabot in #26
  • Refactoring nuke-related local definitions to account for one, many or no defined access blocks. by @julialawrence in #27

Full Changelog: v5.0.0...v5.0.1

Add outputs for awsnuke

06 Dec 10:48
00f03d1
Compare
Choose a tag to compare

What's Changed

Creating three dynamically generated outputs which will then be passed to the autonuke script via GitHub Actions Secrets

  • environment_nuke_accounts: all sandbox accounts which are not explicitly annotated with "nuke" : "exclude" in the environment json file
  • environment_rebuild_after_nuke_accounts: list of accounts to be rebuilt after autonuke completes. Annotated with "nuke": "rebuild" in the environments json files
  • blocklist_nuke_accounts: all preproduction, production and core accounts.

Additional Changes

New Contributors

Full Changelog: v4.0.0...v5.0.0

v4.0.0

02 Jul 09:22
1f6e99a
Compare
Choose a tag to compare

Upgrade to TF 1.0.1 and AWS provider 3.47.0

v3.0.0

17 Jun 14:45
b14fe64
Compare
Choose a tag to compare

Breaking change.

  • created sub OUs off of Modernisation-Platform OU for core, member and member-restricted
  • moved all Modernisation-Platform member OUs into one of the above new OUs, this is controlled via the environments JSON files
  • moved member accounts into new OUs

The OU structure change is required to enable better control of different
accounts types using SCPs

v2.0.0

25 Feb 15:36
1f2102e
Compare
Choose a tag to compare

v2.0.0

Breaking change

This module requires a structural change of environment JSON files. Instead of environments being a list or set, it must now be a list of maps.

Previous structure

{
  "environments": ["production"],
  "tags": {
    "application": "",
    "business-unit": "",
    "owner": ""
  }
}

New structure

{
  "environments": [
    {
      "name": "production"
    }
  ],
  "tags": {
    "application": "",
    "business-unit": "",
    "owner": ""
  }
}

v1.0.0

09 Feb 11:53
f66849f
Compare
Choose a tag to compare

Initial release of modernisation-platform-terraform-environments.