Skip to content
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

Unable to do backups with instance that has internal AWS tags #7

Closed
AndrewFarley opened this issue Sep 27, 2018 · 0 comments
Closed

Comments

@AndrewFarley
Copy link
Owner

Reported via email...

Failure trying to create image or tag image.  See/report exception below

Traceback (most recent call last):

  File "/var/task/lambda_function.py", line 104, in backup_tagged_instances_in_region

    Tags=instance['Tags']

  File "/var/runtime/botocore/client.py", line 314, in _api_call

    return self._make_api_call(operation_name, kwargs)

  File "/var/runtime/botocore/client.py", line 612, in _make_api_call

    raise error_class(parsed_response, operation_name)

botocore.exceptions.ClientError: An error occurred (InvalidParameterValue) when calling the CreateTags operation: Value ( aws:autoscaling:groupName ) for parameter key is invalid. Tag keys starting with 'aws:' are reserved for internal use

Scanning for AMIs with tags (AWSAutomatedDailySnapshots)

This occurs because some instances created with CloudFormation or that are associated to an autoscaler have tags on them prefixed with aws:. We should skip these tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant