aws_ecr_repository_creation_template

Nivis Nix constructor for the aws_ecr_repository_creation_template resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  applied_for,
  prefix,
  custom_role_arn ? null,
  description ? null,
  id ? null,
  image_tag_mutability ? null,
  lifecycle_policy ? null,
  region ? null,
  repository_policy ? null,
  resource_tags ? null,
  encryption_configuration ? null,
  image_tag_mutability_exclusion_filter ? null,
  overrides ? {}
}
Required arguments
  • applied_for
  • prefix
Optional arguments
  • custom_role_arn (defaults to null)
  • description (defaults to null)
  • id (defaults to null)
  • image_tag_mutability (defaults to null)
  • lifecycle_policy (defaults to null)
  • region (defaults to null)
  • repository_policy (defaults to null)
  • resource_tags (defaults to null)
  • encryption_configuration (defaults to null)
  • image_tag_mutability_exclusion_filter (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • registry_id
Example
aws_ecr_repository_creation_template {
  name = "ecr_repository_creation_template";
  applied_for = …;  # required
  prefix = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.