Skip to content

Commit

Permalink
change module version to local
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Dec 17, 2020
1 parent 1036823 commit 184f8df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ No requirements.

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| \_module\_version | Module version number | `string` | `"2.0"` | no |
| access\_log\_bucket | Server Access Logging Bucket ID | `string` | n/a | yes |
| access\_log\_bucket\_prefix | Access log bucket prefix, to which the bucket name will be appended to make the target\_prefix | `string` | `"s3"` | no |
| allowed\_cidr | List of allowed source IPs (NOT from within the VPC) | `list(string)` | `[]` | no |
Expand Down
2 changes: 1 addition & 1 deletion common/resources.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ locals {
# "boc:safeguard" = "title26"
# }
base_tags = {
"boc:tf_module_version" = var._module_version
"boc:tf_module_version" = local._module_version
"boc:created_by" = "terraform"
}
# strip spaces, convert to lowercase, make distinct, sort. Remove those not in the _defaults
Expand Down
6 changes: 2 additions & 4 deletions common/version.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
variable "_module_version" {
description = "Module version number"
type = string
default = "2.0"
locals {
_module_version = "2.0"
}

0 comments on commit 184f8df

Please sign in to comment.