Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(infra/modules): update for min tf v0.13 #2370

Merged
merged 2 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion infra/modules/real_time_enforcer_roles/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ resource "google_organization_iam_custom_role" "forseti-enforcer-writer" {
resource "random_id" "prevent_destroy" {
count = "${var.prevent_destroy ? 1 : 0}"
byte_length = 8
keepers {
keepers = {
viewer = "${google_organization_iam_custom_role.forseti-enforcer-viewer.role_id}"
writer = "${google_organization_iam_custom_role.forseti-enforcer-writer.role_id}"
}
Expand Down
19 changes: 19 additions & 0 deletions infra/modules/real_time_enforcer_roles/versions.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

terraform {
required_version = ">= 0.13.7"
}
6 changes: 3 additions & 3 deletions infra/modules/seed_project/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ variable "username" {

variable "owner_emails" {
description = "A list of identities to add as owners on the project in the member format described here: https://cloud.google.com/iam/docs/overview#iam_policy"
type = "list"
type = list
}

variable "seed_project_services" {
Expand All @@ -22,7 +22,7 @@ variable "seed_project_services" {
"serviceusage.googleapis.com",
]

type = "list"
type = list
}

variable "seed_project_roles" {
Expand All @@ -36,7 +36,7 @@ variable "seed_project_roles" {
"roles/resourcemanager.projectIamAdmin",
]

type = "list"
type = list
}

variable "org_id" {
Expand Down
19 changes: 19 additions & 0 deletions infra/modules/seed_project/versions.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

terraform {
required_version = ">= 0.13.7"
}
Loading