Resource

dcloud_ecr_signing_policy

The organization's "only signed images deploy" switch. On, the deploy service refuses an image no trusted dcloud_ecr_signing_key signed, and images from other registries; images Deutsche Cloud builds from source pass by provenance. One per organization; destroying it turns the policy off.

Example Usage

# Only images a trusted key signed deploy (images Deutsche Cloud builds from source pass by provenance).
resource "dcloud_ecr_signing_policy" "this" {
  require_signed_images = true

  depends_on = [dcloud_ecr_signing_key.release]
}

Schema

Required

  • require_signed_images (Boolean) true: a new deployment is refused unless a trusted key signed its image (images built from source pass by provenance; images from another registry are refused). false: signatures are shown, nothing is refused. Running apps are not affected either way

Read-Only

  • id (String) The resource's id.

Import

Import is supported using the following syntax:

The terraform import command can be used, for example:

terraform import dcloud_ecr_signing_policy.this signing-policy

Generated from the provider's schema.