Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Lambda create_stack fails when using reserved 'aws:' tags #39

Open
sboonyakiatACR opened this issue Nov 23, 2021 · 0 comments
Open

Lambda create_stack fails when using reserved 'aws:' tags #39

sboonyakiatACR opened this issue Nov 23, 2021 · 0 comments

Comments

@sboonyakiatACR
Copy link

When launching this template from AWS Service Catalog, the CfnStackAssumeRole lambda function (QuickStartStackMakerLambda) fails due to using reserved tags. The error message the Lambda returns is as follows

An error occurred (ValidationError) when calling the CreateStack operation: aws: prefixed tag key names are not allowed for external use.
Traceback (most recent call last):
File "/var/task/lambda_function.py", line 133, in cfn_handler
physical_resource_id, response_data = create_func(event, context)
File "/var/task/lambda_function.py", line 335, in create
}] + parent_properties['Tags']
File "/var/runtime/botocore/client.py", line 386, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/var/runtime/botocore/client.py", line 705, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (ValidationError) when calling the CreateStack operation: aws: prefixed tag key names are not allowed for external use.

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

No branches or pull requests

1 participant