You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to add package_args like this sam package --signing-profiles HelloWorld=MySigningProfile... it generateas a type error, please help me to found my issue. I don't know how to add this parameters and I have 9 lambdas to run with sam cli. Thanks in advanced.
Your environment
Sceptre, version 4.3.0
Python 3.11.4
Windows 10 + GitBash
Steps to reproduce
Parameters file:
region: us-west-2
project_code: iac_auto
ClientPrefixUpper: AMX
ClientPrefixLower: amx
AppPrefixUpper: PI
AppPrefixLower: pi
environment: DE
EnvironmentLower: de
environmentLowercase: de
AppPrefix_Uppercase: AMX-PI
AppPrefix_Lowercase: amx-pi
AppName_Uppercase: PI
AppName_Lowercase: pi
#29 - Lambda 09
Lambda09_LambdaDescription: Lambda para ordenar los parametros para uso de stepfunctions
#arm64|x86_64
Lambda09_Architecture: x86_64
Lambda09_Handler: lambda_function.parameter_ordering
Lambda09_Runtime: python3.12
Lambda09_Tracing: Active
Lambda09_MemorySize: 128
Lambda09_Timeout: 60
Lambda09_ReservedConcurrentExecutions: 1
Lambda09_CodeSigningEnabled: "true"
Making some changes to the package_args configuration, I able to resolve external stack values but the error is the same. I only add !sub to resolve the values.
[2024-04-17 13:43:20] - infra/PI_IaC/oregon/29-lambda09-ordering/AMX-PLA-LMBD-09-sam - Creating Stack
"'--signing-profiles FunctionCodeSigningProfile_9JEbVbBjhBio=AMX-LMBD-FAILOVER-DB-PI-DE' is not of type 'object'\n\nFailed validating 'type' in schema['properties']['package_args']:\n {'type': 'object'}\n\nOn instance['package_args']:\n ('--signing-profiles '\n 'FunctionCodeSigningProfile_9JEbVbBjhBio=AMX-LMBD-FAILOVER-DB-PI-DE')"
Subject of the issue
When I try to add
package_args
like thissam package --signing-profiles HelloWorld=MySigningProfile...
it generateas a type error, please help me to found my issue. I don't know how to add this parameters and I have 9 lambdas to run with sam cli. Thanks in advanced.Your environment
Steps to reproduce
Parameters file:
Template used
Command:
Expected behaviour
I need to deploy a signed lambda to AWS
Actual behaviour
SAM Template sends this error:
The text was updated successfully, but these errors were encountered: