aws-system-manager-automation-unencrypted-to-encrypted-resources icon indicating copy to clipboard operation
aws-system-manager-automation-unencrypted-to-encrypted-resources copied to clipboard

Tag copy from old unencrypted volume to new encrypted volume

Open Vikas442838 opened this issue 2 years ago • 0 comments

Hi Team

This is my first ever issue and I'm beginner in automation,( different profile) . This template is very helpful for encryption at rest for ebs volume except tagging issue.

Provided template stack2 doesn't copy the tags from describe API hence that can't be applied to create volume api.

I tried giving below in outputs under describe volume API but remediation gets failed in describe volume only.

  • Name: tags Selector: $.Volumes[0].Tags Type: String

Error : Failure message Step fails when it is Execute/Cancelling action. Error converting output: tags to String. Actual value: [{"Key":"Name","Value":"test"}]. Please refer to Automation Service Troubleshooting Guide for more diagnosis details.

Can we modify this template to work with the tags because we don't want to loose the tags, tags associated with the old volume should carry to new encrypted volume.

Vikas442838 avatar Oct 04 '22 07:10 Vikas442838