Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
BATIAI-2297 (#17)
Browse files Browse the repository at this point in the history
* adding changes for policy creation with resources

* updating asm_secret_arns to allow wildcard

---------

Co-authored-by: Shanawaze <shanawaze.shaik@revacomm.com>
  • Loading branch information
sshaikRC and Shanawaze authored Mar 15, 2024
1 parent 6e02420 commit f146426
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,6 @@ variable "asm_secret_arns" {
description = "ARNs of secrets in AWS secrets manager (ASM) to add to policy"
type = list(string)
default = []
validation {
condition = !anytrue([for arn in var.asm_secret_arns : (length(regexall("\\*|\\?", arn)) == 0 ? false : true)])
error_message = "No '*' or '?' allowed in secret_arns variable"
}
}

variable "attach_insights_policy" {
Expand Down

0 comments on commit f146426

Please sign in to comment.