return cloudPlatformConnectors.get(cloudPlatform).describeStackWithResources(stack, stack.getCredential());
} else {
try {
DetailedStackDescription dSD = new DetailedStackDescription();
ResourceBuilderInit resourceBuilderInit = resourceBuilderInits.get(cloudPlatform);
final DescribeContextObject describeContextObject = resourceBuilderInit.describeInit(stack);
for (ResourceBuilder resourceBuilder : networkResourceBuilders.get(cloudPlatform)) {
for (Resource resource : stack.getResourcesByType(resourceBuilder.resourceType())) {
Optional<String> describe = resourceBuilder.describe(resource, describeContextObject);
if (describe.isPresent()) {
dSD.getResources().add(describe.get());