diff --git a/CHANGELOG.md b/CHANGELOG.md index 51f6a3e7..42dc39c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,81 @@ The format is based on and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.1.0 (2022-08-11) + + +### ⚠ BREAKING CHANGES + +* Update Dockerfile to install terraform-validator from gcloud (#156) +* Use user defined SA for cb triggers (#148) +* remove KMS resources in cloudbuild submodule (#143) +* Drop old TFV version (< `v0.6.0`) support (#141) +* hardcode create_project_sa to false (#126) +* Default trigger location in Terraform state changed, see upgrade guide for details. +* Upgrade google-project-factory to v10, add Terraform 0.13 constraint and module attribution (#81) +* Increased minimum Google provider version to 3.3 + +### Features + +* Add a lien for the seed project ([#136](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/136)) ([3853dc4](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/3853dc46cc75146424595babea631080820a69a6)) +* Add ability to customize state bucket name ([#86](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/86)) ([1af1405](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/1af1405be6455ff4a212e5977989bc597edb4067)) +* Add ability to customize terraform version & upgrade to 0.12.24 ([#17](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/17)) ([1f82423](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/1f824233d3e5fa7d230e4f26e0cb2cfd919d2cf8)) +* Add ability to define custom list of branches to trigger apply and custom cloudbuild YAML for terraform builds ([#41](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/41)) ([02467c8](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/02467c860b68cfab4e65241cae4406feb95a5674)) +* Add ability to disable granting billing IAM via grant_billing_user variable ([#19](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/19)) ([85e7a9c](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/85e7a9cfb3210b315f2bc30a8bfecbba472c82bc)) +* add ability to specify random suffix for projects and GCS ([#102](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/102)) ([da4e8c1](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/da4e8c10a2b03f2a67d6217dba67ba7be5c83503)) +* add artifacts bucket to tf workspace module ([#170](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/170)) ([fceee53](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/fceee53b9128db532f11290650e7cc94f04f4ea4)) +* Add folder mover permission by default ([3fb6d5d](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/3fb6d5ddb34b4728e0f3dd3b782dd2d7b499e266)) +* add force_destroy option for state bucket ([#100](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/100)) ([50ce28f](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/50ce28f411eed79868f968c6fff9afa7eddc226a)) +* Add KMS cmek support for state bucket ([#115](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/115)) ([2fea4be](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/2fea4be30af10b9f5880b0a29c02bf27ed00e6e3)) +* Add serviceusage api to the defaults ([#13](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/13)) ([71daed8](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/71daed8c877c8a5135f92c64df7d0bafa572a824)) +* Add skip_gcloud_download flag ([#39](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/39)) ([0e06b29](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/0e06b299a22c454cc0406c34de59fde150d33095)) +* Add support for terraform validator ([#44](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/44)) ([d09725f](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/d09725f48054b2d0c08001b3650be7413d610c38)) +* add TF cloudbuilder blueprint ([#154](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/154)) ([34120e5](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/34120e579528dfb72dddace0485d38efaf9202bd)) +* Add variables to allow customisation of terraform service account ([#116](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/116)) ([b7b0090](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/b7b0090d61ad578c395dc35c9b25967ab8b341f2)) +* added capability to toggle creation of seed project service account ([#124](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/124)) ([0457e66](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/0457e668b7231690c748d91a0107233081da991c)) +* Added monitoring api ([#22](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/22)) ([20a2f7e](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/20a2f7e6d054dcd97a8331e9569d7147200db851)) +* allow Cloud Source Repos to be optional ([#68](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/68)) ([6df33bc](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/6df33bc50b5d25176b01b722761c941c10baeaef)) +* allow configuration of initial terraform version in tf_cloudbuild_builder ([#189](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/189)) ([4f38396](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/4f3839608edf6d8c078e22b41b1a0ae27685b7fd)) +* Allow service account impersonation in the local-exec gcloud runs. ([#151](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/151)) ([6a7463b](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/6a7463b12cd140905fd5a60fc0d030359b94607a)) +* CloudBuild workspace blueprint ([#162](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/162)) ([bcbbed2](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/bcbbed2ae09ded98e25d0462dfc920cfbb0f121c)) +* create Cloudbuild Source submodule ([#167](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/167)) ([2dc083f](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/2dc083f0f9e2d2c4442e93b022d6787f6007b049)) +* custom seed project id ([#74](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/74)) ([4d44c4b](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/4d44c4ba57638f7aca081a3a3bcc2685437f17f4)) +* Drop old TFV version (< `v0.6.0`) support ([#141](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/141)) ([2b9bf2c](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/2b9bf2cdfa99ef098b4816a941733d34b023e45b)) +* hardcode create_project_sa to false ([#126](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/126)) ([c1ee35e](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/c1ee35e0615d5da91ddc0fb10eba3235dd53eb46)) +* migrate to GAR for runner images ([#94](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/94)) ([02bf581](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/02bf5813de4f0702835e768bc70aac7f16e79730)) +* option to target bootstrap module at a folder ([#40](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/40)) ([fa923a5](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/fa923a5242146837ca9d5001390f9200ccc40a7f)) +* relax tf version to allow terraform 0.13 ([#67](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/67)) ([af34b11](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/af34b11889e49fb3c50932ba7e14c33f3291eefe)) +* remove KMS resources in cloudbuild submodule ([#143](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/143)) ([c1a52c7](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/c1a52c798d8d307681c02a3ac96222ee761ff735)) +* Replaces deprecated bucket_policy_only for uniform_bucket_level_access ([#63](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/63)) ([a1ef992](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/a1ef9924a325331539bdb9eedbb8007d0b35be80)) +* Update Dockerfile to install terraform-validator from gcloud ([#156](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/156)) ([a300b9c](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/a300b9c27796200f2a565173484eb997d8e296a8)) +* update terraform to 12.29 and terraform-validator to 2020-09-24 ([#71](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/71)) ([74d7ef2](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/74d7ef257b9f7a076e878ec9ed56dabbf006d78f)) +* update TPG version constraints to allow 4.0 ([#133](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/133)) ([71aa344](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/71aa344c657e1348cdca22900fc87e24820f2b6f)) +* Upgrade default Terraform version to v1.0.2 ([#112](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/112)) ([dac0483](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/dac0483368abd0e78a6f680aa949e860d9bb8e70)) +* Upgrade google-project-factory to v10, add Terraform 0.13 constraint and module attribution ([#81](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/81)) ([4d00da3](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/4d00da341d22975137b6eacd910b61fce714938b)) +* Upgrade to Project Factory 7.0 ([#9](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/9)) ([b0bb86b](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/b0bb86b666fc7e434f646ef35f7eaba6dc98e2d7)) +* Use user defined SA for cb triggers ([#148](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/148)) ([5a925f8](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/5a925f8d3c742b9846e71743197fbbd22550bb7a)) + + +### Bug Fixes + +* add explicit dependency for GCS service account ([#128](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/128)) ([62adacc](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/62adacc8ed8ad92e8ec3197ed05291fbaf8cbb07)) +* add terraform-tools to the docker images ([#186](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/186)) ([c2d7b3f](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/c2d7b3ff2b878d9555338b465021db0c2c651d50)) +* cloud build trigger regex to only match the correct branches ([#53](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/53)) ([f555239](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/f555239de6ff9aa12f6813c9256127c07c1a2898)) +* downgrade minimum provider version for better compatibility with existing usage of module ([#46](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/46)) ([2aec7c8](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/2aec7c842ca4990385077d5653ce9a9dddbda28b)) +* expose GAR repo name via substitutions in triggers ([#97](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/97)) ([9ac97a3](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/9ac97a3393ebfbfd5425fec7ff5cb63bdc1c2cae)) +* Guarantee the execution permission in the entrypoint.bash file ([#149](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/149)) ([f113076](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/f113076264b71e0423c2bcd642eb63851311e604)) +* Implement examples of ensuring projectCreator rights are applied ([#15](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/15)) ([92b2774](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/92b27743564a750a3722d677ade8d7ceb0aa43b8)) +* Leave curl and unzip in Docker image ([#106](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/106)) ([8d24f65](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/8d24f6583b16e6bd97e3e7d2b809d689371796d1)) +* make trigger names generic now that multiple branches are supported ([#48](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/48)) ([dc3c0c3](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/dc3c0c3eb363d936445cdef4e11fc5ec5de7347e)) +* min version in docs to 0.12.20 ([#61](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/61)) ([0c53fe2](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/0c53fe2a438cec4aa1d5561ec2497ab9ac68eebe)) +* Remove incompatible escape characters with Windows systems (CMD and PowerShell) to make the command fits in one line ([#131](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/131)) ([56dec3e](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/56dec3e4e0496b01231e8e37c60e43b17dddaff0)) +* Remove incorrect substitution for seed project ([#84](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/84)) ([4ec9fa0](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/4ec9fa083066712bcea317bcf9066646e07a66c6)) +* Required provider version upgraded to 0.12.20. ([#59](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/59)) ([b1fd7e8](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/b1fd7e8d5b3d69f460477d4b417102f40f83352f)) +* update the example module version ([#50](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/50)) ([b933b9b](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/b933b9b883fbf61eb354f9e8679b54c7cb40e560)) +* Update version of terraform-validator to 2021-03-22 ([#103](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/103)) ([fb2f372](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/fb2f37278384adb020bf0606acd8afa3c8bb04f5)) +* upgrade project factory to 10.1.1 and terraform to 0.13.6 ([#93](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/93)) ([e04ab65](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/e04ab658516e8c7bda4689589d5ef8f01ba6ed88)) +* wait on IAM to return terraform_sa_email ([#166](https://github.com/terraform-google-modules/terraform-google-bootstrap/issues/166)) ([45830b7](https://github.com/terraform-google-modules/terraform-google-bootstrap/commit/45830b70a194e7f2169fd10ae7859bf97e786d20)) + ## [6.1.0](https://github.com/terraform-google-modules/terraform-google-bootstrap/compare/v6.0.0...v6.1.0) (2022-07-15) diff --git a/modules/cloudbuild/versions.tf b/modules/cloudbuild/versions.tf index ac49194b..23d9ade3 100644 --- a/modules/cloudbuild/versions.tf +++ b/modules/cloudbuild/versions.tf @@ -31,6 +31,6 @@ terraform { } provider_meta "google" { - module_name = "blueprints/terraform/terraform-google-bootstrap:cloudbuild/v6.1.0" + module_name = "blueprints/terraform/terraform-google-bootstrap:cloudbuild/v0.1.0" } } diff --git a/modules/tf_cloudbuild_builder/versions.tf b/modules/tf_cloudbuild_builder/versions.tf index 122261b8..2690b75f 100644 --- a/modules/tf_cloudbuild_builder/versions.tf +++ b/modules/tf_cloudbuild_builder/versions.tf @@ -31,6 +31,6 @@ terraform { } provider_meta "google" { - module_name = "blueprints/terraform/terraform-google-bootstrap:tf_cloudbuild_builder/v6.1.0" + module_name = "blueprints/terraform/terraform-google-bootstrap:tf_cloudbuild_builder/v0.1.0" } } diff --git a/modules/tf_cloudbuild_source/versions.tf b/modules/tf_cloudbuild_source/versions.tf index 9a8555c1..402b1f4f 100644 --- a/modules/tf_cloudbuild_source/versions.tf +++ b/modules/tf_cloudbuild_source/versions.tf @@ -31,6 +31,6 @@ terraform { } provider_meta "google" { - module_name = "blueprints/terraform/terraform-google-bootstrap:tf_cloudbuild_source/v6.1.0" + module_name = "blueprints/terraform/terraform-google-bootstrap:tf_cloudbuild_source/v0.1.0" } } diff --git a/modules/tf_cloudbuild_workspace/versions.tf b/modules/tf_cloudbuild_workspace/versions.tf index 7d7554dc..3461bdd6 100644 --- a/modules/tf_cloudbuild_workspace/versions.tf +++ b/modules/tf_cloudbuild_workspace/versions.tf @@ -31,6 +31,6 @@ terraform { } provider_meta "google" { - module_name = "blueprints/terraform/terraform-google-bootstrap:tf_cloudbuild_workspace/v6.1.0" + module_name = "blueprints/terraform/terraform-google-bootstrap:tf_cloudbuild_workspace/v0.1.0" } } diff --git a/versions.tf b/versions.tf index 9ddf490a..e6eb8cbd 100644 --- a/versions.tf +++ b/versions.tf @@ -25,6 +25,6 @@ terraform { } provider_meta "google" { - module_name = "blueprints/terraform/terraform-google-bootstrap/v6.1.0" + module_name = "blueprints/terraform/terraform-google-bootstrap/v0.1.0" } }