-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Add support for AWS Lambda Functions powered by AWS Graviton2 processors #21091
Conversation
…pdating architectures
Add arm support for Lambda Layer
Co-authored-by: Graham Davison <[email protected]>
Co-authored-by: Graham Davison <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 🚀
Acceptance test results
--- SKIP: TestAccDataSourceAWSLambdaFunction_imageConfig (0.85s)
--- PASS: TestAccDataSourceAWSLambdaLayerVersion_runtime (42.72s)
--- PASS: TestAccDataSourceAWSLambdaLayerVersion_basic (42.81s)
--- PASS: TestAccDataSourceAWSLambdaLayerVersion_version (46.91s)
--- PASS: TestAccDataSourceAWSLambdaFunction_alias (79.97s)
--- PASS: TestAccDataSourceAWSLambdaFunction_environment (81.23s)
--- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_disappears_LambdaFunction (82.63s)
--- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_disappears_LambdaFunctionEventInvokeConfig (83.03s)
--- PASS: TestAccDataSourceAWSLambdaFunction_version (91.70s)
--- PASS: TestAccDataSourceAWSLambdaFunction_architectures (92.15s)
--- PASS: TestAccDataSourceAWSLambdaFunction_basic (92.47s)
--- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_FunctionName_Arn (91.42s)
--- PASS: TestAccDataSourceAWSLambdaFunction_layers (94.36s)
--- SKIP: TestAccAWSLambdaFunction_codeSigningConfig (1.27s)
--- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_basic (102.66s)
--- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_DestinationConfig_Swap (124.44s)
--- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_Qualifier_FunctionName_Arn (81.18s)
--- PASS: TestAccAWSLambdaFunction_expectFilenameAndS3Attributes (33.12s)
--- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_DestinationConfig_Remove (133.07s)
--- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_DestinationConfig_OnSuccess_Destination (137.60s)
--- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_DestinationConfig_OnFailure_Destination (148.69s)
--- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_Qualifier_AliasName (81.05s)
--- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_Qualifier_FunctionVersion (82.22s)
--- PASS: TestAccAWSLambdaFunction_basic (83.26s)
--- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_Qualifier_Latest (84.91s)
--- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_MaximumEventAgeInSeconds (128.87s)
--- SKIP: TestAccAWSLambdaFunction_imageConfig (1.09s)
--- PASS: TestAccDataSourceAWSLambdaLayerVersion_architectures (174.86s)
--- PASS: TestAccAWSLambdaFunction_disappears (83.07s)
--- PASS: TestAccAWSLambdaFunction_nilDeadLetterConfig (36.85s)
--- PASS: TestAccAWSLambdaFunction_Environment_Variables_NoValue (80.94s)
--- PASS: TestAccAWSLambdaFunction_versioned (87.68s)
--- PASS: TestAccAWSLambdaFunction_concurrency (127.38s)
--- PASS: TestAccAWSLambdaFunctionEventInvokeConfig_MaximumRetryAttempts (175.20s)
--- PASS: TestAccAWSLambdaFunction_UnpublishedCodeUpdate (145.22s)
--- PASS: TestAccAWSLambdaFunction_encryptedEnvVariables (138.78s)
--- PASS: TestAccAWSLambdaFunction_concurrencyCycle (183.19s)
--- PASS: TestAccAWSLambdaFunction_disablePublish (136.18s)
--- PASS: TestAccAWSLambdaFunction_KmsKeyArn_NoEnvironmentVariables (80.38s)
--- PASS: TestAccDataSourceAWSLambdaFunction_vpc (290.71s)
--- PASS: TestAccAWSLambdaFunction_Layers (86.08s)
--- PASS: TestAccAWSLambdaFunction_DeadLetterConfig (143.38s)
--- PASS: TestAccAWSLambdaFunction_Architectures (132.33s)
--- PASS: TestAccAWSLambdaFunction_DeadLetterConfigUpdated (145.00s)
--- PASS: TestAccAWSLambdaFunction_ArchitecturesUpdate (143.33s)
--- PASS: TestAccAWSLambdaFunction_versionedUpdate (185.63s)
--- PASS: TestAccAWSLambdaFunction_ArchitecturesWithLayer (142.27s)
--- PASS: TestAccAWSLambdaFunction_enablePublish (182.76s)
--- PASS: TestAccAWSLambdaFunction_tracingConfig (123.97s)
--- PASS: TestAccAWSLambdaFunction_envVariables (232.64s)
--- PASS: TestAccAWSLambdaFunction_zip_validation (6.73s)
--- PASS: TestFlattenLambdaImageConfigShouldNotFailWithEmptyImageConfig (0.00s)
--- PASS: TestAccAWSLambdaFunction_LayersUpdate (120.05s)
--- PASS: TestAccDataSourceAWSLambdaFunction_fileSystemConfig (354.14s)
--- PASS: TestAccAWSLambdaFunction_s3 (48.92s)
--- PASS: TestAccAWSLambdaLayerVersion_basic (36.72s)
--- PASS: TestAccAWSLambdaFunction_EmptyVpcConfig (68.02s)
--- PASS: TestAccAWSLambdaLayerVersion_s3 (44.17s)
--- PASS: TestAccAWSLambdaLayerVersion_compatibleRuntimes (44.76s)
--- PASS: TestAccAWSLambdaLayerVersion_update (68.28s)
--- PASS: TestAccAWSLambdaFunction_localUpdate (102.92s)
--- PASS: TestAccAWSLambdaFunction_localUpdate_nameOnly (102.77s)
--- PASS: TestAccAWSLambdaFunction_s3Update_unversioned (95.30s)
--- PASS: TestAccAWSLambdaLayerVersion_licenseInfo (41.07s)
--- PASS: TestAccAWSLambdaLayerVersion_description (41.96s)
--- PASS: TestAccAWSLambdaFunction_s3Update_basic (96.85s)
--- PASS: TestAccAWSLambdaFunction_tags (110.12s)
--- PASS: TestAccAWSLambdaLayerVersion_compatibleArchitectures (88.68s)
--- PASS: TestAccAWSLambdaFunction_VPC (258.35s)
--- PASS: TestAccAWSLambdaFunction_VPC_publish_No_Changes (270.90s)
--- PASS: TestAccAWSLambdaFunction_VpcConfig_ProperIamDependencies (266.54s)
--- PASS: TestAccAWSLambdaFunction_VPCRemoval (448.45s)
--- PASS: TestAccAWSLambdaFunction_runtimes (384.57s)
--- PASS: TestAccAWSLambdaFunction_VPC_withInvocation (430.49s)
--- PASS: TestAccAWSLambdaFunction_VPC_publish_Has_Changes (449.11s)
--- PASS: TestAccAWSLambdaFunction_FileSystemConfig (1915.23s)
--- PASS: TestAccAWSLambdaFunction_VPCUpdate (1861.15s)
"architectures" is a list in Lambda API. So we match it in the provider. |
This functionality has been released in v3.61.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Closes #21090.
Output from acceptance testing: