Description
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
Upon retrieval of a SecretManager secret using the scaleway_secret
datasource, there is an attribute version_count
available, which can be used to retrieve multiple versions of a secret. However, this only works if no (intermediate) versions have been deleted, as then the revision
is out of sync with the version_count
.
It would be much nicer if the scaleway_secret
datasource would return the complete list of available versions (like this API call) in an attribute versions
, instead of a version_count
attribute, which need to be itterated/fetched manually.
New or Affected Resource(s)
- scaleway_secret