Skip to content

Commit

Permalink
Merge pull request #37 from mattmoor/pin-and-update-providers
Browse files Browse the repository at this point in the history
  • Loading branch information
imjasonh authored Jun 25, 2023
2 parents ed29984 + 4164d85 commit 6224106
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ updates:
schedule:
interval: "daily"
open-pull-requests-limit: 10
- package-ecosystem: terraform
directory: "/tflib/publisher"
schedule:
interval: "daily"
25 changes: 19 additions & 6 deletions tflib/publisher/main.tf
Original file line number Diff line number Diff line change
@@ -1,25 +1,38 @@
terraform {
required_providers {
cosign = {
source = "chainguard-dev/cosign"
version = "0.0.6"
}
apko = {
source = "chainguard-dev/apko"
version = "0.8.9"
}
}
}

variable "target_repository" {}

variable "config" {}

variable "extra_packages" {
type = list(string)
default = ["wolfi-baselayout"]
type = list(string)
default = ["wolfi-baselayout"]
}

module "this" {
source = "chainguard-dev/apko/publisher"
version = "0.0.4"
version = "0.0.6"

target_repository = var.target_repository
config = var.config
extra_packages = var.extra_packages
}

output "image_ref" {
value = module.this.image_ref
value = module.this.image_ref
}

output "config" {
value = module.this.config
}
value = module.this.config
}

0 comments on commit 6224106

Please sign in to comment.