Add additional storage pool to profile

Apologies for replying to a 2-year old post, but I had the same question and I saw 3 posts with same/similar questions.

How to autoprovision additional disks using profiles or Ansible in a cluster? (I believe this post has the answer)

I think what yokem55 wanted to say was: “Is there a way to tell LXD to create a new storage volume and attach it to newly created instance and mount it on some location inside the instance, all of this done automatically when we launch new instance (maybe through command line parameters or through profile config?”

And as per the last post shared above, currently there is no way to make the creation of new storage volumes automated through the profiles or any other way. The storage volume should be created first and then attached to the instance.