GorillaStack / auto-tag

Automatically tag AWS resources on creation, for cost assignment
GNU General Public License v3.0
457 stars 158 forks source link

Deployed using deploy_autotag.sh no tagging is happening #115

Closed Milak1 closed 1 year ago

Milak1 commented 1 year ago

Hi,

I deployed the solution as suggested using the script, the cloud formation was successful but no tags are added. I looked on the lambda triggers of AutoTag lambda and it looks like the trigger is SNS topic but no topic was created. I created the topic and added the lambda as a subscription but again no tags. I have cloud trail enabled but it isn't clear to me from the readme if I need to perform any additional actions, it is said that the script will handle everything but now I am not sure if I need to create a certain trail and add CloudWatch rules.

If I look in this template https://github.com/GorillaStack/auto-tag/blob/master/cloud_formation/event_single_region_template/autotag_event-template.json looks like AutoTagMasterPolicy is missing as I can't find it in the IAM policies and the event rule in CloudWatch is missing. Not sure if I'm looking in the right spot sorry this is new to me never worked with CF before.

Any assistance will be appreciated.

Thanks!

Milak1 commented 1 year ago

It was my fault, the script works as expected. I terminated the script by using ctrl + q instead of just clicking q when the stack id appeared on the terminal window. Use Q not ctrl + Q :)