You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug Datasource "artifactory_virtual_maven_repository" is not available in 10.x
Requirements for and issue
A description of the bug We want to add a virtual datasource Maven repository "artifactory_virtual_maven_repository" like it is mentionned in the documentation /docs/data-sources/virtual_maven_repository
but this datasource is no longer supported in versions 10.0.2 and 10.1.0 as shown in the following error message :
╷
│ Error: Invalid data source
│
│ on modules/maven/main.tf line 17, in data "artifactory_virtual_maven_repository" "virtual-global-maven":
│ 17: data "artifactory_virtual_maven_repository" "virtual-global-maven" {
│
│ The provider jfrog/artifactory does not support data source "artifactory_virtual_maven_repository".
│
│ Did you intend to use the managed resource type "artifactory_virtual_maven_repository"? If so, declare this using a "resource" block instead of a "data" block.
╵
A fully functioning terraform snippet that can be copy&pasted (no outside files or ENV vars unless that's part of the issue). If this is not supplied, this issue will likely be closed without any effort expended.
The documentation example is enough to reproduce the bug
data "artifactory_virtual_maven_repository" "virtual-maven" {
key = "virtual-maven"
}
and terraform apply
Your version of artifactory (you can curl it at $host/artifactory/api/system/version) EnterpriseX license 7.71.9 rev 77109900
Your version of terraform Terraform v1.6.3
Your version of terraform provider 10.0.2 et 10.1.0
Expected behavior
The datasource would be available for maven virtual repository.
The text was updated successfully, but these errors were encountered:
Hello,
Describe the bug
Datasource "artifactory_virtual_maven_repository" is not available in 10.x
Requirements for and issue
We want to add a virtual datasource Maven repository "artifactory_virtual_maven_repository" like it is mentionned in the documentation
/docs/data-sources/virtual_maven_repository
but this datasource is no longer supported in versions 10.0.2 and 10.1.0 as shown in the following error message :
The documentation example is enough to reproduce the bug
and
terraform apply
Your version of artifactory (you can
curl
it at$host/artifactory/api/system/version
)EnterpriseX license 7.71.9 rev 77109900
Your version of terraform
Terraform v1.6.3
Your version of terraform provider
10.0.2 et 10.1.0
Expected behavior
The datasource would be available for maven virtual repository.
The text was updated successfully, but these errors were encountered: