You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
A clear and concise description of what the issue is.
There does not seem to be a way to combine two strings, either inline or through variable definition, to allow for the combination of a string literal and a variable
Any examples
let bucket_name = "s3/%BucketName"
LoggingConfiguration.LogFilePrefix == %bucket_name
let bucket_name = "s3/"+%BucketName
LoggingConfiguration.LogFilePrefix == %bucket_name
Additional context
The outcome I would like to achieve in my specific context is to create a rule that enforces the LoggingConfiguration.LogFilePrefix of an S3 Bucket to match the pattern of s3/<bucket name>, so if I have this configuration:
Hi @jkruse14, you. are correct this is not currently possible using cfn-guard. While we do have a join function, this wouldnt work for the use case you have described. I think we could track this as part of #479
Describe the issue
A clear and concise description of what the issue is.
There does not seem to be a way to combine two strings, either inline or through variable definition, to allow for the combination of a string literal and a variable
Any examples
Version
Operating System:
Windows
OS Version
Windows 10 Pro
Additional context
The outcome I would like to achieve in my specific context is to create a rule that enforces the
LoggingConfiguration.LogFilePrefix
of an S3 Bucket to match the pattern ofs3/<bucket name>
, so if I have this configuration:I could write something like
or with a function
The text was updated successfully, but these errors were encountered: