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
When doing a convection diff, convection may re-order resources, resulting in a configuration that is correct, but a diff that contains extra noise. This means the developer must carefully read a diff to be satisfied that it is correct. Eventually this will cause someone to miss an error.
Expected behavior
When I add a new resource, I see only Create statements, and not a list of idempotent Update statements.
Observed behavior
When I add a new resource, I see a Create statements buried in a list of idempotent Update statements.
Steps to Reproduce
Create a stack s3buckets whose template contains a single s3_bucket resource.
Converge the s3buckets stack.
Add two s3_bucket_policy resources linked to the bucket to the s3buckets stack.
Converge the s3buckets again (notice only Create events being emitted).
Add a new s3_bucket_policy between the other two in your convection template.
Notice that there are updates to the second stack and a new create.
The expected behavior would be that only the new policy get printed as create but since the policy elements are scalar and the order changes we interpret it as a diff.
Description
When doing a
convection diff, convection may re-order resources, resulting in a configuration that is correct, but a diff that contains extra noise. This means the developer must carefully read a diff to be satisfied that it is correct. Eventually this will cause someone to miss an error.Expected behavior
When I add a new resource, I see only
Createstatements, and not a list of idempotentUpdatestatements.Observed behavior
When I add a new resource, I see a
Createstatements buried in a list of idempotentUpdatestatements.Steps to Reproduce
s3bucketswhose template contains a singles3_bucketresource.s3bucketsstack.s3_bucket_policyresources linked to the bucket to thes3bucketsstack.s3bucketsagain (notice onlyCreateevents being emitted).s3_bucket_policybetween the other two in your convection template.The expected behavior would be that only the new policy get printed as create but since the policy elements are scalar and the order changes we interpret it as a diff.