forked from neillturner/terraform-aws-autospotting
-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changing the regional policy name. (#28)
Moving this to being a variable as currently it blocks Autospotting being deployed more than once.
- Loading branch information
Showing
2 changed files
with
37 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
variable "autospotting_lambda_arn" {} | ||
|
||
# Label configuration | ||
variable "label_context" { | ||
description = "Used to pass in label module context" | ||
type = object({ | ||
namespace = string | ||
environment = string | ||
stage = string | ||
name = string | ||
enabled = bool | ||
delimiter = string | ||
attributes = list(string) | ||
label_order = list(string) | ||
tags = map(string) | ||
additional_tag_map = map(string) | ||
regex_replace_chars = string | ||
}) | ||
default = { | ||
namespace = "" | ||
environment = "" | ||
stage = "" | ||
name = "" | ||
enabled = true | ||
delimiter = "" | ||
attributes = [] | ||
label_order = [] | ||
tags = {} | ||
additional_tag_map = {} | ||
regex_replace_chars = "" | ||
} | ||
} |