jfrog/terraform-provider-artifactory

Improve documentation around required params

chb0github opened this issue · 2 comments

@maheshjfrog it looks like my issue was a documentation issue. On other providers, e.g. AWS, TFE, all the acceptable arguments are listed in the "Argument Reference" section of the documentation. When looking at the alpine repository, I saw that there were only four arguments and assumed that these were the only four accepted. On re-reading the docs, I noticed this:

Arguments for remote Alpine repository type closely match with arguments for remote Generic repository type.

Whilst this is a fair comment, it doesn't follow the expectations built by other providers in listing out the full arguments. If the docs aren't going to do this, may I suggest this is made more prominent, for example in an info box, and a link to the generic repo equivalents is added? This would save the confusion going forward.

Originally posted by @jamestoyer in #395 (comment)

Related to #398

I'm working on the documentation now. Each repository type (local, remote, virtual, and federated) will have one document, that contains all the arguments they have in common. Each repo-specific document will have a link to the common list of arguments.