Skip to content

Commit

Permalink
chore: Change restore policy (#511)
Browse files Browse the repository at this point in the history
* chore: release 10.0.0

* Updates default service accounts restore policy and require provider >= 3.50

* Revert "chore: release 10.0.0"

This reverts commit e5504e6.

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
  • Loading branch information
thiagonache and release-please[bot] authored Dec 9, 2020
1 parent 8c5698c commit 0eb2431
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/core_project_factory/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ resource "google_project_default_service_accounts" "default_service_accounts" {
count = upper(var.default_service_account) == "KEEP" ? 0 : 1
action = upper(var.default_service_account)
project = google_project.main.project_id
restore_policy = "REVERT"
restore_policy = "REVERT_AND_IGNORE_FAILURE"
depends_on = [module.project_services]
}

Expand Down
4 changes: 2 additions & 2 deletions modules/core_project_factory/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ terraform {
required_version = ">=0.12.6"

required_providers {
google = ">= 3.47, < 4.0"
google-beta = ">= 3.47, < 4.0"
google = ">= 3.50, < 4.0"
google-beta = ">= 3.50, < 4.0"
null = "~> 2.1"
random = "~> 2.2"
}
Expand Down

0 comments on commit 0eb2431

Please sign in to comment.