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
{{ message }}
This repository was archived by the owner on Jan 21, 2020. It is now read-only.
The terraform instance plugin's DescribeInstances may fail if there are multiple groups. During the tag checking, if a tag does not match then the following is executed:
continue scan
This is tied to an outer for loop:
// now we scan for <instance_type.instance-<timestamp> as keys
scan:
for t, vm := range localSpecs {
for k, v := range vm {
matches := re.FindStringSubmatch(string(k))
The other loops is a 2D array with the resource type as the 0th element. This element will be the resource type; if this outer for loop is continued then all of the elements of the same resource type are not processed.
The fix is to move the scan: declaration to the next for loop so all of the resources are processed.