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
Hi All,
I'm attempting an upgrade from 0.24.1 => 0.28.0 and my lambda + deployment group code (summarized below) is now resulting in a circular dependency between the Lambda alias, the metric and the deployment group.
This is caused by #2091 - we fixed the aliasArn to properly !Ref the alias resource so that CFN models the implicit dependency. A consequence of this is now we have a circular dependency because CodeDeploy models Lambda deployments in a circular way:
The alias's update policy references the deployment group
The deployment group references the alias's ARN via the alarm's metric
We can fix this by having the alias's metrics construct the aliasArn from the underlying functionArn and the hard-coded aliasName.
Hi All,
I'm attempting an upgrade from 0.24.1 => 0.28.0 and my lambda + deployment group code (summarized below) is now resulting in a circular dependency between the Lambda alias, the metric and the deployment group.
@sam-goodwin commented on a related issue here: https://github.com/awslabs/aws-cdk/pull/1628/files#r252155211
My code follows the docs example pretty closely, so I suspect the readme is now invalid.
The text was updated successfully, but these errors were encountered: