As long as you have any license to use the software at all, anything you produce with it is your property, to sell, give away or distribute as you choose. The only areas that have some further restrictions are use of Adobe Fonts and stock images, and when those are fully embedded in PDF, EPUB or print form, they are also licensed for any purpose you put them to.
What you can't do is give away any part of the software (you can't give someone Acrobat DC to view and print files, for example — not that that's doable anyway), or the stock material in and of itself, or the fonts.
If you're doing Hollywood productions or international digital magazines, there are some caveats and sub-clauses that might come into play, but in general, at the freelance and small agency level: if you create it, it's yours.
(Which is all as it should be: InDesign and the rest of the suite are top-level professional tools. Creating stuff, on a commercial basis, is what they're for. It's the amateur and office-worker tools that tend to be "free" or "cheap" and then ring in licensing issues for things like commercial reproduction. See also every argument by amateurs about how Adobe stuff is "too expensive." 🙂 )