Skip to content

Commit 7cacdf5

Browse files
committed
Update context.tf
1 parent 00b1491 commit 7cacdf5

File tree

1 file changed

+27
-9
lines changed

1 file changed

+27
-9
lines changed

context.tf

Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#
2-
# ONLY EDIT THIS FILE IN github.com/cloudposse/terraform-null-label
2+
# ONLY EDIT THIS FILE IN github.com/justtrackio/terraform-null-label
33
# All other instances of this file should be a copy of that one
44
#
55
#
6-
# Copy this file from https://github.com/cloudposse/terraform-null-label/blob/master/exports/context.tf
6+
# Copy this file from https://github.com/justtrackio/terraform-null-label/blob/main/exports/context.tf
77
# and then place it in your Terraform module to automatically get
8-
# Cloud Posse's standard configuration inputs suitable for passing
9-
# to Cloud Posse modules.
8+
# justtrack's standard configuration inputs suitable for passing
9+
# to justtrack modules.
1010
#
11-
# curl -sL https://raw.githubusercontent.com/cloudposse/terraform-null-label/master/exports/context.tf -o context.tf
11+
# curl -sL https://raw.githubusercontent.com/justtrackio/terraform-null-label/main/exports/context.tf -o context.tf
1212
#
1313
# Modules should access the whole context as `module.this.context`
1414
# to get the input variables with nulls for defaults,
@@ -21,8 +21,8 @@
2121
#
2222

2323
module "this" {
24-
source = "cloudposse/label/null"
25-
version = "0.25.0" # requires Terraform >= 0.13.0
24+
source = "justtrackio/label/null"
25+
version = "0.26.0" # requires Terraform >= 0.13.0
2626

2727
enabled = var.enabled
2828
namespace = var.namespace
@@ -45,7 +45,7 @@ module "this" {
4545
context = var.context
4646
}
4747

48-
# Copy contents of cloudposse/terraform-null-label/variables.tf here
48+
# Copy contents of justtrackio/terraform-null-label/variables.tf here
4949

5050
variable "context" { # tflint-ignore: terraform_standard_module_structure
5151
type = any
@@ -276,4 +276,22 @@ variable "descriptor_formats" { # tflint-ignore: terraform_standard_module_struc
276276
EOT
277277
}
278278

279-
#### End of copy of cloudposse/terraform-null-label/variables.tf
279+
variable "aws_account_id" { # tflint-ignore: terraform_standard_module_structure
280+
type = string
281+
description = "AWS account id"
282+
default = null
283+
}
284+
285+
variable "aws_region" { # tflint-ignore: terraform_standard_module_structure
286+
type = string
287+
description = "AWS region"
288+
default = null
289+
}
290+
291+
variable "organizational_unit" { # tflint-ignore: terraform_standard_module_structure
292+
type = string
293+
description = "Usually used to indicate the AWS organizational unit, e.g. 'prod', 'sdlc'"
294+
default = null
295+
}
296+
297+
#### End of copy of justtrackio/terraform-null-label/variables.tf

0 commit comments

Comments
 (0)