[cloudformation] convert vpc dynamic to component