generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 635
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
There are multiple issues with launching Custom Config Rules with LZA:
- When setting
periodic: falseyou are still required to setmaximumExecutionFrequencyparameter. This should be optional. - When setting
periodic: trueyou are still required to settriggerResourcesparameter. This should be optional. - When setting
configurationChanges: trueand configuretriggeringResourceswithlookupType: ResourceTypesyou still need to add alookupKey. According to documentation this can be an empty string, but you will get an error:/awsConfig/ruleSets/1/rules/2/customRule/triggeringResources/lookupKey => must NOT have fewer than 1 characters - The
rolePolicyFilein lambda does not support LZA Solution Specific Variables (https://docs.aws.amazon.com/solutions/latest/landing-zone-accelerator-on-aws/working-with-solution-specific-variables.html). Trying to use ${PARTITION} or ${ACCOUNT_ID} will result in errors (these are the ones I tested with) in "Security_Resources" action in the pipeline.
To Reproduce
- Set
periodic: falseand try and run pipeline without settingmaximumExecutionFrequency - Set
periodic: trueand try and run pipeline without settingtriggerResources - Set
configurationChanges: trueand try and run pipeline with settingslookupType: ResourcesandlookupKey: "" - Try adding a policy for custom lambda with LZA Solution Specific Variables
Expected behavior
Configuration should be more flexible, and not require parameters not needed. Policy should be able to parse LZA Solution Specific Variables.
Please complete the following information about the solution:
- Version: v1.14.2
- Region: eu-north-1
- Was the solution modified from the version published on this repository?
- If the answer to the previous question was yes, are the changes available on GitHub?
- Have you checked your service quotas for the services this solution uses?
- Were there any errors in the CloudWatch Logs?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working