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
control'all_azure_resourses'dodesc'Get all resource to filter maually created resourses'azure_generic_resources.ids.eachdo |id|
describeazure_generic_resource(resource_id: id)doits('tags'){shouldinclude(:'managed-by')}its('tags'){shouldinclude('managed-by': 'terraform')}endendend
How to capture resource_id of failed resources for its('tags') { should include('managed-by': 'terraform') } test?
I would like to write these resource_id's and failed test description to a file.
The text was updated successfully, but these errors were encountered:
I have this code below,
How to capture
resource_id
of failed resources forits('tags') { should include('managed-by': 'terraform') }
test?I would like to write these
resource_id's
and failed test description to a file.The text was updated successfully, but these errors were encountered: