To make this recipe gluten-free, substitute the puff pastry with a certified gluten-free puff pastry product. Ensure all other ingredients, particularly the cardamom and cheese, are labeled gluten-free. As gluten-free pastry doughs may be more delicate, take extra care when folding and sealing the brie, and consider chilling the dough slightly longer before baking for optimal structure.