Skip to content

Commit

Permalink
Merge pull request #31 from babbel/unify-variables
Browse files Browse the repository at this point in the history
Unify structure of module variables
  • Loading branch information
jansiwy authored Sep 23, 2024
2 parents 36b7f65 + 0aa4d21 commit c376965
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions variables.tf
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
variable "name_prefix" {
type = string

description = "Name prefix for the SecretsManager. The full name will be $${var.name_prefix}.rollbar_access_tokens."
}

variable "tags" {
type = map(string)
default = {}

description = "Tags which will be assigned to all resources."
description = <<EOS
Name prefix for the SecretsManager. The full name will be $${var.name_prefix}.rollbar_access_tokens.
EOS
}

variable "rollbar_tokens" {
Expand All @@ -17,5 +12,16 @@ variable "rollbar_tokens" {
access_token = string
}))

description = "List of objects having access tokens names and the token values which shall be loaded into the SecretsManager."
description = <<EOS
List of objects having access tokens names and the token values which shall be loaded into the SecretsManager.
EOS
}

variable "tags" {
type = map(string)
default = {}

description = <<EOS
Map of tags assigned to all AWS resources created by this module.
EOS
}

0 comments on commit c376965

Please sign in to comment.