Resource

dcloud_git_tag_protection

A tag protection rule of a repository: creating, moving or deleting a tag matching pattern (e.g. v*) needs git:PushProtectedTag as well as git:PushRepository.

Schema

Required

  • pattern (String) Tag name or glob, e.g. v* or release-*; matching tags need git:PushProtectedTag. Up to 200 characters. Must match ^[A-Za-z0-9._/*+-]+$. Changing it replaces the resource.
  • repository_id (String) The id of the parent resource ({repoId} in the path). Changing it replaces the resource.

Read-Only

  • id (String) The resource's id.

Generated from the provider's schema.