diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fbd2a38..5740f2c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,7 @@ repos: - '--args=--only=terraform_workspace_remote' - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.2.0 + rev: v3.4.0 hooks: - id: trailing-whitespace - id: check-merge-conflict diff --git a/examples/sample/main.tf b/examples/sample/main.tf index e27aa6a..bd30bef 100644 --- a/examples/sample/main.tf +++ b/examples/sample/main.tf @@ -1,3 +1,7 @@ +provider "aws" { + region = "us-west-2" +} + module "databricks_workspace" { source = "../../" diff --git a/examples/sample/outputs.tf b/examples/sample/outputs.tf index f4b29da..7899347 100644 --- a/examples/sample/outputs.tf +++ b/examples/sample/outputs.tf @@ -8,9 +8,9 @@ output "vpc_route_table_ids" { value = module.databricks_workspace.vpc_route_table_ids } -output "vpc_security_group_ids" { - description = "list of VPC security group IDs" - value = module.databricks_workspace.vpc_security_group_ids +output "vpc_security_group_id" { + description = "VPC security group ID" + value = module.databricks_workspace.vpc_security_group_id } output "vpc_subnet_ids" { description = "list of subnet ids within VPC" diff --git a/examples/test/variables.tf b/examples/test/variables.tf deleted file mode 100755 index f3511b5..0000000 --- a/examples/test/variables.tf +++ /dev/null @@ -1,9 +0,0 @@ -variable "teamid" { - description = "(Required) Name of the team/group e.g. devops, dataengineering. Should not be changed after running 'tf apply'" - type = string -} - -variable "prjid" { - description = "(Required) Name of the project/stack e.g: mystack, nifieks, demoaci. Should not be changed after running 'tf apply'" - type = string -} diff --git a/outputs.tf b/outputs.tf index 1c62bb6..55a8c6d 100644 --- a/outputs.tf +++ b/outputs.tf @@ -8,8 +8,8 @@ output "vpc_route_table_ids" { value = concat(module.vpc.private_route_table_ids, module.vpc.public_route_table_ids) } -output "vpc_security_group_ids" { - description = "list of VPC security group IDs" +output "vpc_security_group_id" { + description = "list of VPC security group ID" value = [module.vpc.default_security_group_id] } output "vpc_subnet_ids" {