-
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
resource/aws_lambda_function: Support waiting for State on CreateFunction and LastUpdatedStatus on UpdateFunctionConfiguration #11016
Conversation
…tion and LastUpdatedStatus on UpdateFunctionConfiguration Output from acceptance testing in AWS Commercial (us-west-2): ``` --- PASS: TestAccAWSLambdaFunction_basic (369.24s) --- PASS: TestAccAWSLambdaFunction_concurrency (250.87s) --- PASS: TestAccAWSLambdaFunction_concurrencyCycle (470.65s) --- PASS: TestAccAWSLambdaFunction_DeadLetterConfig (515.49s) --- PASS: TestAccAWSLambdaFunction_DeadLetterConfigUpdated (509.55s) --- PASS: TestAccAWSLambdaFunction_EmptyVpcConfig (167.42s) --- PASS: TestAccAWSLambdaFunction_encryptedEnvVariables (323.02s) --- PASS: TestAccAWSLambdaFunction_envVariables (140.79s) --- PASS: TestAccAWSLambdaFunction_expectFilenameAndS3Attributes (21.51s) --- PASS: TestAccAWSLambdaFunction_Layers (65.21s) --- PASS: TestAccAWSLambdaFunction_LayersUpdate (553.66s) --- PASS: TestAccAWSLambdaFunction_localUpdate (270.54s) --- PASS: TestAccAWSLambdaFunction_localUpdate_nameOnly (241.10s) --- PASS: TestAccAWSLambdaFunction_nilDeadLetterConfig (165.93s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_java8 (166.81s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_NodeJs10x (173.61s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_NodeJs810 (298.36s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_noRuntime (0.91s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_provided (272.34s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_python27 (438.99s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_python36 (480.28s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_python37 (467.07s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_ruby25 (473.34s) --- PASS: TestAccAWSLambdaFunction_s3 (42.83s) --- PASS: TestAccAWSLambdaFunction_s3Update_basic (61.96s) --- PASS: TestAccAWSLambdaFunction_s3Update_unversioned (64.14s) --- PASS: TestAccAWSLambdaFunction_tags (406.96s) --- PASS: TestAccAWSLambdaFunction_tracingConfig (458.91s) --- PASS: TestAccAWSLambdaFunction_updateRuntime (549.47s) --- PASS: TestAccAWSLambdaFunction_versioned (58.40s) --- PASS: TestAccAWSLambdaFunction_versionedUpdate (614.81s) --- PASS: TestAccAWSLambdaFunction_VPC (1806.38s) --- PASS: TestAccAWSLambdaFunction_VPC_withInvocation (1627.71s) --- PASS: TestAccAWSLambdaFunction_VPCUpdate (1820.07s) ``` Output from acceptance testing in AWS Commercial (us-east-2): ``` --- PASS: TestAccAWSLambdaFunction_basic (38.55s) --- PASS: TestAccAWSLambdaFunction_concurrency (42.00s) --- PASS: TestAccAWSLambdaFunction_concurrencyCycle (47.59s) --- PASS: TestAccAWSLambdaFunction_DeadLetterConfig (48.46s) --- PASS: TestAccAWSLambdaFunction_DeadLetterConfigUpdated (56.49s) --- PASS: TestAccAWSLambdaFunction_EmptyVpcConfig (29.17s) --- PASS: TestAccAWSLambdaFunction_encryptedEnvVariables (59.43s) --- PASS: TestAccAWSLambdaFunction_envVariables (68.92s) --- PASS: TestAccAWSLambdaFunction_expectFilenameAndS3Attributes (12.06s) --- PASS: TestAccAWSLambdaFunction_Layers (30.71s) --- PASS: TestAccAWSLambdaFunction_LayersUpdate (57.00s) --- PASS: TestAccAWSLambdaFunction_localUpdate (37.25s) --- PASS: TestAccAWSLambdaFunction_localUpdate_nameOnly (35.00s) --- PASS: TestAccAWSLambdaFunction_nilDeadLetterConfig (10.17s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_java8 (34.43s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_NodeJs10x (33.29s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_NodeJs810 (29.69s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_noRuntime (0.59s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_provided (27.31s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_python27 (35.12s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_python36 (26.88s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_python37 (32.30s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_ruby25 (25.78s) --- PASS: TestAccAWSLambdaFunction_s3 (29.69s) --- PASS: TestAccAWSLambdaFunction_s3Update_basic (35.45s) --- PASS: TestAccAWSLambdaFunction_s3Update_unversioned (35.65s) --- PASS: TestAccAWSLambdaFunction_tags (39.01s) --- PASS: TestAccAWSLambdaFunction_tracingConfig (47.01s) --- PASS: TestAccAWSLambdaFunction_updateRuntime (41.10s) --- PASS: TestAccAWSLambdaFunction_versioned (31.86s) --- PASS: TestAccAWSLambdaFunction_versionedUpdate (40.01s) --- PASS: TestAccAWSLambdaFunction_VPC (1331.10s) --- PASS: TestAccAWSLambdaFunction_VPC_withInvocation (1356.30s) --- PASS: TestAccAWSLambdaFunction_VpcConfig_ProperIamDependencies (1289.59s) --- PASS: TestAccAWSLambdaFunction_VPCUpdate (1455.46s) ``` Output from acceptance testing in AWS GovCloud (US) (us-gov-west-1): ``` --- PASS: TestAccAWSLambdaFunction_basic (96.45s) --- PASS: TestAccAWSLambdaFunction_concurrency (128.26s) --- PASS: TestAccAWSLambdaFunction_concurrencyCycle (153.75s) --- PASS: TestAccAWSLambdaFunction_DeadLetterConfig (127.93s) --- PASS: TestAccAWSLambdaFunction_DeadLetterConfigUpdated (133.99s) --- PASS: TestAccAWSLambdaFunction_EmptyVpcConfig (102.99s) --- PASS: TestAccAWSLambdaFunction_encryptedEnvVariables (173.12s) --- PASS: TestAccAWSLambdaFunction_envVariables (188.44s) --- PASS: TestAccAWSLambdaFunction_expectFilenameAndS3Attributes (24.13s) --- PASS: TestAccAWSLambdaFunction_Layers (116.48s) --- PASS: TestAccAWSLambdaFunction_LayersUpdate (152.43s) --- PASS: TestAccAWSLambdaFunction_localUpdate (155.31s) --- PASS: TestAccAWSLambdaFunction_localUpdate_nameOnly (137.67s) --- PASS: TestAccAWSLambdaFunction_nilDeadLetterConfig (66.45s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_java8 (49.98s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_NodeJs10x (83.39s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_NodeJs810 (115.81s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_noRuntime (1.48s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_provided (89.89s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_python27 (57.00s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_python36 (44.05s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_python37 (63.82s) --- PASS: TestAccAWSLambdaFunction_runtimeValidation_ruby25 (70.84s) --- PASS: TestAccAWSLambdaFunction_s3 (41.56s) --- PASS: TestAccAWSLambdaFunction_s3Update_basic (70.50s) --- PASS: TestAccAWSLambdaFunction_s3Update_unversioned (66.96s) --- PASS: TestAccAWSLambdaFunction_tags (115.43s) --- PASS: TestAccAWSLambdaFunction_updateRuntime (130.79s) --- PASS: TestAccAWSLambdaFunction_versioned (119.31s) --- PASS: TestAccAWSLambdaFunction_versionedUpdate (169.21s) --- PASS: TestAccAWSLambdaFunction_VPC (160.10s) --- PASS: TestAccAWSLambdaFunction_VPC_withInvocation (165.84s) --- PASS: TestAccAWSLambdaFunction_VpcConfig_ProperIamDependencies (153.32s) --- PASS: TestAccAWSLambdaFunction_VPCRemoval (157.20s) --- PASS: TestAccAWSLambdaFunction_VPCUpdate (177.42s) ```
This pull request was previously reviewed and testing passes, merging. 👍 |
This has been released in version 2.40.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 for triage. Thanks! |
@bflad I understand this has already been merged in, but I now get an error on previously working Lambda function creations:
This is being run against a LocalStack instance but I'm not sure that is the issue. I've just pinned my
|
From the AWS SDK v1.25.42 release notes:
|
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Release note for CHANGELOG:
Output from acceptance testing: