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
There are cases where the default behaviour of our `GetAtt` implementation may not be sufficient and you need a more accurate returned value. When unit testing there are no real AWS resources created, and cloud-radar does not attempt to realistically generate attribute values - a string is always returned. This works good enough most of the time, but there are some cases where if you are attempting to apply intrinsic functions against the attribute value it needs to be more correct. When this occurs, you can add Metadata to the template to provide test values to use.
215
+
216
+
```
217
+
Resources:
218
+
MediaPackageV2Channel:
219
+
Type: AWS::MediaPackageV2::Channel
220
+
Metadata:
221
+
Cloud-Radar:
222
+
attribute-values:
223
+
# Default behaviour of a string is not good enough here, the attribute value is expected to be a List.
0 commit comments