We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edeb4ad commit 424d2d8Copy full SHA for 424d2d8
1 file changed
java-iam-admin/.cloud/main.tf
@@ -5,12 +5,6 @@ terraform {
5
}
6
7
8
-resource "google_project_service" "iam" {
9
- service = "iam.googleapis.com"
10
- project = var.inputs.project_id
11
- count = var.inputs.should_enable_apis_on_apply ? 1 : 0
12
- disable_on_destroy = var.inputs.should_disable_apis_on_destroy
13
-}
14
resource "random_id" "id" {
15
byte_length = 3
16
@@ -20,5 +14,4 @@ locals {
20
resource "google_service_account" "service_account" {
21
account_id = local.service_account_id
22
display_name = "Service Account"
23
- depends_on = [google_project_service.iam]
24
17
0 commit comments