-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tag resources #31
Comments
nice idea for the future so adding to the wiki |
Our organisation has a tagging standard for all its AWS resources, so we could really use this capability. For now, is there any more practical approach than going into the AWS Console and manually tagging the resources created by arc? |
This is a great use case for opening up access to the cli workflow tool Can you share more with the tagging standard of your org? |
Sure! Here's a quick paste of our standard: Tagging AWS Resources: Sensible Defaults
Tagging AWS resources allows for better cost control, easier auditing and helps new team members understand how stuff works. Tags can declare AWS resources as components of an item in our asset register, making it easier to track risk. ImplementationMost AWS resources are managed via CloudFormation. When launching a CloudFormation stack, our mandatory tags MUST be specified. This ensures the stack itself is tagged, and that the tags flow into all taggable resources created as a result. AWS CLI supports this via Tag keys and values
Mandatory tagsAll taggable AWS resources must have the following tags. The examples given would apply to Influx's production RDS database. We run an AWS Config rule to monitor compliance with mandatory tagging.
assetAll AWS resources represent a component of an “asset” in Culture Amp's Asset Register. The
workloadThe type of workload the resource is supporting. This helps represent the impact to availability if the resource fails. It is also indicative of the classification of data the service can impact.
data-classificationA data classification from our Data Protection Policy relating to the data held within the resource. Mandatory for all AWS resources, but may be “None” if there is no data.
Further reading: |
thx for this / super helpful!!! given that arc generates all sorts of infra but the end user experience is effectively a manifest and a bunch of functions do you think a new section called
The example One problem w this approach is I'm not sure how we'd handle tagging the diff between staging and production! |
@brianleroux That looks great except for the need to tag staging/production with a “workload” tag in our case. Could we support tagging from environment variables with some kind of placeholder?
|
+1 for this feature. It would be very helpful to be able to specify tags, though there's some difficulties involving dynamic tags. Static tags as a first step would be great. For dynamic tags, would it be possible to just leverage the fact that the repo will be using node? Something like a |
Tagging is also a standard at my workplace. We currently use Serverless Framework and it's |
YES! I have been dying to build this in. We do now have a macros feature which allows you to modify the generated CFN … if anyone gets a macro going its a very short jump to adding it into architect/package |
Thank you for your continued patience! Adding to architect/architect distribution as soon as all the tests pass. You can now tag every deploy with |
use
@app
to tag lambdas, tables, restapis… basically anything generated by arcThe text was updated successfully, but these errors were encountered: