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
Background
Currently all settings and configuration is done in CDK code. This means its done at synthesis, producing no parameter values for the generated CloudFormation code.
Problem
In order to integrate with the AWS Marketplace or increase further integrations in more ways. Settings at synthesis is not enough
Resolution
Implement CfnParameters at the root cdk-photo-archive stack. To work with the existing parameters set at synthesis time, make the default values for all CfnParameters to that of the configured values.
Background
Currently all settings and configuration is done in CDK code. This means its done at synthesis, producing no parameter values for the generated CloudFormation code.
Problem
In order to integrate with the AWS Marketplace or increase further integrations in more ways. Settings at synthesis is not enough
Resolution
Implement CfnParameters at the root cdk-photo-archive stack. To work with the existing parameters set at synthesis time, make the default values for all CfnParameters to that of the configured values.
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnParameter.html
https://bobbyhadz.com/blog/aws-cdk-parameters-example
Implementing this may also require different handling of conditional logic which now needs to be pushed to at runtime rather then syntehsis time: https://loige.co/create-resources-conditionally-with-cdk/
Configure also NestedStack parameters to pass around the needed parameters from there too: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.NestedStack.html#parameters
The text was updated successfully, but these errors were encountered: