arpio-config:tag
Set or override tags on recovered resources.
Syntax
arpio-config:tag:<tag-key> = <tag-value>
| Parameter | Description |
|---|---|
tag-key |
The key of the tag to set or override in the recovery environment. This part can contain any characters that are valid in tag keys for the tagged resource, including the colon character. |
tag-value |
The tag value to use in the recovery environment. If this value is missing, an tag with no value will be set in the recovery environment. |
Supported Resources
This configuration tag applies to all Azure resource types.
Description
The arpio-config:tag: configuration tag enables you to set a tag on resources in the recovery environment. This is useful for replacing environment-specific tag values with recovery-appropriate alternatives.
The tag operates in two modes:
- Override Mode: When
tag-keymatches the key of an existing tag on the primary resource, the specifiedtag-valueis used in place of the original value during recovery. - Addition Mode: When
tag-keydoes not match any existing tag on the primary resource, a new tag with the specified key and value is added to the recovered resource.
Tags set on recovery environment resources are not read by Arpio and may be overwritten during management operations. Always apply arpio-config:tag: configuration tags to resources in the primary environment.
Examples
| Tag | Value |
|---|---|
arpio-config:tag:DEPARTMENT |
marketing |
arpio-config:tag:ansible:role |
db |
arpio-config:tag:protected |
none |