cloud-foundation-fabric/examples/data-solutions/gcs-to-bq-with-least-privil.../serviceaccounts.tf

38 lines
1.2 KiB
Terraform
Raw Normal View History

2022-01-13 23:45:14 -08:00
# Copyright 2022 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
#
# https://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.
module "service-account-bq" {
2022-01-14 01:28:19 -08:00
source = "../../../modules/iam-service-account"
2022-01-14 04:55:47 -08:00
project_id = module.project.project_id
2022-01-13 23:45:14 -08:00
name = "bq-datalake"
}
2022-01-14 08:56:58 -08:00
2022-01-13 23:45:14 -08:00
module "service-account-landing" {
2022-01-14 01:28:19 -08:00
source = "../../../modules/iam-service-account"
2022-01-14 04:55:47 -08:00
project_id = module.project.project_id
2022-01-13 23:45:14 -08:00
name = "gcs-landing"
}
module "service-account-orch" {
2022-01-14 01:28:19 -08:00
source = "../../../modules/iam-service-account"
2022-01-14 04:55:47 -08:00
project_id = module.project.project_id
2022-01-13 23:45:14 -08:00
name = "orchestrator"
}
module "service-account-df" {
2022-01-14 01:28:19 -08:00
source = "../../../modules/iam-service-account"
2022-01-14 04:55:47 -08:00
project_id = module.project.project_id
2022-01-13 23:45:14 -08:00
name = "df-loading"
}