Skip to content

Commit

Permalink
feat: resolve tflint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Kkhandale2024 committed Apr 1, 2024
1 parent 48b8686 commit 12859b4
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
1 change: 1 addition & 0 deletions _example/example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ module "service-account" {
environment = var.environment
label_order = var.label_order

display_name = "example"
service_account_enabled = true
project_id = "clouddrove-1"
service_account_key_enabled = true
Expand Down
2 changes: 1 addition & 1 deletion _example/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
# ------------------------------------------------------------------------------

output "id" {
value = module.service-account.*.id
value = module.service-account[*].id
description = "The ID of the service-account."
}
5 changes: 2 additions & 3 deletions _example/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
# ------------------------------------------------------------------------------

terraform {
required_version = ">= 0.14, < 2.0"

required_version = ">= 1.4.6"
required_providers {
google = {
source = "hashicorp/google"
version = ">= 3.50, < 5.0"
version = "5.22.0"
}
}
}
13 changes: 13 additions & 0 deletions versions.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# ------------------------------------------------------------------------------
# Versions
# ------------------------------------------------------------------------------

terraform {
required_version = ">= 1.4.6"
required_providers {
google = {
source = "hashicorp/google"
version = "5.22.0"
}
}
}

0 comments on commit 12859b4

Please sign in to comment.