Skip to content

Commit

Permalink
Use SKIPSAME conflict for cosign_attest (#21)
Browse files Browse the repository at this point in the history
This will be present in v0.0.16 of tf-cosign.

Signed-off-by: Jon Johnson <[email protected]>
  • Loading branch information
jonjohnsonjr authored Oct 14, 2023
1 parent c8c4808 commit f3f4c7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ resource "cosign_attest" "this" {

image = apko_build.this.sboms[each.key].digest

# Do not re-attest things that have not changed.
conflict = "SKIPSAME"

# Create SBOM attestations for each architecture.
predicates {
type = apko_build.this.sboms[each.key].predicate_type
Expand Down

0 comments on commit f3f4c7e

Please sign in to comment.