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

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 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