Tags
Tag-Based Access Control in Amorphic is a feature that helps users to efficiently share and manage Amorphic resources at scale.
Below is the sample resource definition file for Tag:
{
"rTag": {
"Type": "Tag",
"Properties": {
"TagKey": "department",
"TagValue": "tax",
"TagDescription": "Tag managed by CICD"
}
}
}
Tag lists no other resource types under DependsOn in the CICD module configuration.
Dependent resources should not be deleted before the primary resource; attempting to do so may lead to failures or inconsistencies during the deletion process.
Referencing this Resource
Below are the common keys that can be used in the DependsOn function to retrieve details of this resource.
Supported Key
| Key | Description |
|---|---|
| TagKey | Returns the TagKey value of this resource |
For additional supported keys, refer to the API definition document for the respective resource type.
Example
To reference this schedule from another resource, use !DependsOn with logical name and property in the format <logicalResourceName>.<PropertyName>.
Example: {"!DependsOn": "rTag.TagKey"}
Amorphic CICD currently only supports creation, updating, and deletion of tags.
It does not support providing access to Amorphic resources using the managed tags.