Skip to content

Commit

Permalink
added region
Browse files Browse the repository at this point in the history
  • Loading branch information
smoravcik committed Mar 7, 2022
1 parent cb27b4c commit 5d9ec02
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Terraform module to enable AWS security hub
``` terraform
module "sh" {
source = "github.com/virsas/tfmod_sh"
// region in which you want to enable the security hub
region = "eu-west-1"
}
```

Expand Down
4 changes: 4 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
provider "aws" {
region = var.region
}

resource "aws_securityhub_account" "sh" {}
1 change: 1 addition & 0 deletions variables.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
variable "region" { default = "eu-west-1" }

0 comments on commit 5d9ec02

Please sign in to comment.