feat: add local pypi/rpm repos, remote pypi, and virtual pypi
Add terraform resources and configs for: - artifactapi_local_pypi (pypi-internal) - artifactapi_local_rpm (rpm-internal) - artifactapi_local_terraform (terraform-unkin, was missing from module) - artifactapi_remote_pypi (pypi.org upstream) - artifactapi_virtual pypi merging pypi-internal + pypi remote Wire up config.hcl, variables, and terragrunt inputs for all new types.
This commit is contained in:
@@ -76,6 +76,40 @@ resource "artifactapi_remote_rpm" "this" {
|
||||
stale_on_error = each.value.stale_on_error
|
||||
}
|
||||
|
||||
resource "artifactapi_remote_pypi" "this" {
|
||||
for_each = var.remote_pypi
|
||||
|
||||
name = each.key
|
||||
base_url = each.value.base_url
|
||||
description = each.value.description
|
||||
immutable_ttl = each.value.immutable_ttl
|
||||
mutable_ttl = each.value.mutable_ttl
|
||||
patterns = each.value.patterns
|
||||
mutable_patterns = each.value.mutable_patterns
|
||||
stale_on_error = each.value.stale_on_error
|
||||
}
|
||||
|
||||
resource "artifactapi_local_terraform" "this" {
|
||||
for_each = var.local_terraform
|
||||
|
||||
name = each.key
|
||||
description = each.value.description
|
||||
}
|
||||
|
||||
resource "artifactapi_local_pypi" "this" {
|
||||
for_each = var.local_pypi
|
||||
|
||||
name = each.key
|
||||
description = each.value.description
|
||||
}
|
||||
|
||||
resource "artifactapi_local_rpm" "this" {
|
||||
for_each = var.local_rpm
|
||||
|
||||
name = each.key
|
||||
description = each.value.description
|
||||
}
|
||||
|
||||
resource "artifactapi_virtual" "this" {
|
||||
for_each = var.virtual
|
||||
|
||||
|
||||
Reference in New Issue
Block a user