-
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
tests/lambda: update to aws_s3_bucket_acl
#23036
Conversation
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.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccLambdaFunction_\|TestAccLambdaPermission_' PKG=lambda ACCTEST_PARALLELISM=5
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/lambda/... -v -count 1 -parallel 5 -run=TestAccLambdaFunction_\|TestAccLambdaPermission_ -timeout 180m
=== RUN TestAccLambdaFunction_basic
=== PAUSE TestAccLambdaFunction_basic
=== RUN TestAccLambdaFunction_unpublishedCodeUpdate
=== PAUSE TestAccLambdaFunction_unpublishedCodeUpdate
=== RUN TestAccLambdaFunction_disappears
=== PAUSE TestAccLambdaFunction_disappears
=== RUN TestAccLambdaFunction_codeSigning
=== PAUSE TestAccLambdaFunction_codeSigning
=== RUN TestAccLambdaFunction_concurrency
=== PAUSE TestAccLambdaFunction_concurrency
=== RUN TestAccLambdaFunction_concurrencyCycle
=== PAUSE TestAccLambdaFunction_concurrencyCycle
=== RUN TestAccLambdaFunction_expectFilenameAndS3Attributes
=== PAUSE TestAccLambdaFunction_expectFilenameAndS3Attributes
=== RUN TestAccLambdaFunction_envVariables
=== PAUSE TestAccLambdaFunction_envVariables
=== RUN TestAccLambdaFunction_EnvironmentVariables_noValue
=== PAUSE TestAccLambdaFunction_EnvironmentVariables_noValue
=== RUN TestAccLambdaFunction_encryptedEnvVariables
=== PAUSE TestAccLambdaFunction_encryptedEnvVariables
=== RUN TestAccLambdaFunction_versioned
=== PAUSE TestAccLambdaFunction_versioned
=== RUN TestAccLambdaFunction_versionedUpdate
=== PAUSE TestAccLambdaFunction_versionedUpdate
=== RUN TestAccLambdaFunction_enablePublish
=== PAUSE TestAccLambdaFunction_enablePublish
=== RUN TestAccLambdaFunction_disablePublish
=== PAUSE TestAccLambdaFunction_disablePublish
=== RUN TestAccLambdaFunction_deadLetter
=== PAUSE TestAccLambdaFunction_deadLetter
=== RUN TestAccLambdaFunction_deadLetterUpdated
=== PAUSE TestAccLambdaFunction_deadLetterUpdated
=== RUN TestAccLambdaFunction_nilDeadLetter
=== PAUSE TestAccLambdaFunction_nilDeadLetter
=== RUN TestAccLambdaFunction_fileSystem
=== PAUSE TestAccLambdaFunction_fileSystem
=== RUN TestAccLambdaFunction_image
=== PAUSE TestAccLambdaFunction_image
=== RUN TestAccLambdaFunction_architectures
=== PAUSE TestAccLambdaFunction_architectures
=== RUN TestAccLambdaFunction_architecturesUpdate
=== PAUSE TestAccLambdaFunction_architecturesUpdate
=== RUN TestAccLambdaFunction_architecturesWithLayer
=== PAUSE TestAccLambdaFunction_architecturesWithLayer
=== RUN TestAccLambdaFunction_tracing
=== PAUSE TestAccLambdaFunction_tracing
=== RUN TestAccLambdaFunction_KMSKeyARN_noEnvironmentVariables
=== PAUSE TestAccLambdaFunction_KMSKeyARN_noEnvironmentVariables
=== RUN TestAccLambdaFunction_layers
=== PAUSE TestAccLambdaFunction_layers
=== RUN TestAccLambdaFunction_layersUpdate
=== PAUSE TestAccLambdaFunction_layersUpdate
=== RUN TestAccLambdaFunction_vpc
=== PAUSE TestAccLambdaFunction_vpc
=== RUN TestAccLambdaFunction_vpcRemoval
=== PAUSE TestAccLambdaFunction_vpcRemoval
=== RUN TestAccLambdaFunction_vpcUpdate
=== PAUSE TestAccLambdaFunction_vpcUpdate
=== RUN TestAccLambdaFunction_VPC_withInvocation
=== PAUSE TestAccLambdaFunction_VPC_withInvocation
=== RUN TestAccLambdaFunction_VPCPublishNo_changes
=== PAUSE TestAccLambdaFunction_VPCPublishNo_changes
=== RUN TestAccLambdaFunction_VPCPublishHas_changes
=== PAUSE TestAccLambdaFunction_VPCPublishHas_changes
=== RUN TestAccLambdaFunction_VPC_properIAMDependencies
=== PAUSE TestAccLambdaFunction_VPC_properIAMDependencies
=== RUN TestAccLambdaFunction_emptyVPC
=== PAUSE TestAccLambdaFunction_emptyVPC
=== RUN TestAccLambdaFunction_s3
=== PAUSE TestAccLambdaFunction_s3
=== RUN TestAccLambdaFunction_localUpdate
=== PAUSE TestAccLambdaFunction_localUpdate
=== RUN TestAccLambdaFunction_LocalUpdate_nameOnly
=== PAUSE TestAccLambdaFunction_LocalUpdate_nameOnly
=== RUN TestAccLambdaFunction_S3Update_basic
=== PAUSE TestAccLambdaFunction_S3Update_basic
=== RUN TestAccLambdaFunction_S3Update_unversioned
=== PAUSE TestAccLambdaFunction_S3Update_unversioned
=== RUN TestAccLambdaFunction_tags
=== PAUSE TestAccLambdaFunction_tags
=== RUN TestAccLambdaFunction_runtimes
=== PAUSE TestAccLambdaFunction_runtimes
=== RUN TestAccLambdaFunction_Zip_validation
=== PAUSE TestAccLambdaFunction_Zip_validation
=== RUN TestAccLambdaPermission_basic
=== PAUSE TestAccLambdaPermission_basic
=== RUN TestAccLambdaPermission_StatementID_duplicate
=== PAUSE TestAccLambdaPermission_StatementID_duplicate
=== RUN TestAccLambdaPermission_withRawFunctionName
=== PAUSE TestAccLambdaPermission_withRawFunctionName
=== RUN TestAccLambdaPermission_withStatementIdPrefix
=== PAUSE TestAccLambdaPermission_withStatementIdPrefix
=== RUN TestAccLambdaPermission_withQualifier
=== PAUSE TestAccLambdaPermission_withQualifier
=== RUN TestAccLambdaPermission_disappears
=== PAUSE TestAccLambdaPermission_disappears
=== RUN TestAccLambdaPermission_multiplePerms
=== PAUSE TestAccLambdaPermission_multiplePerms
=== RUN TestAccLambdaPermission_withS3
=== PAUSE TestAccLambdaPermission_withS3
=== RUN TestAccLambdaPermission_withSNS
=== PAUSE TestAccLambdaPermission_withSNS
=== RUN TestAccLambdaPermission_withIAMRole
=== PAUSE TestAccLambdaPermission_withIAMRole
=== CONT TestAccLambdaFunction_basic
=== CONT TestAccLambdaFunction_vpc
=== CONT TestAccLambdaFunction_tags
=== CONT TestAccLambdaFunction_VPC_properIAMDependencies
=== CONT TestAccLambdaFunction_emptyVPC
--- PASS: TestAccLambdaFunction_basic (50.50s)
=== CONT TestAccLambdaFunction_VPCPublishHas_changes
--- PASS: TestAccLambdaFunction_emptyVPC (60.98s)
=== CONT TestAccLambdaFunction_VPCPublishNo_changes
--- PASS: TestAccLambdaFunction_tags (122.39s)
=== CONT TestAccLambdaFunction_VPC_withInvocation
--- PASS: TestAccLambdaFunction_VPC_properIAMDependencies (500.31s)
=== CONT TestAccLambdaFunction_vpcUpdate
--- PASS: TestAccLambdaFunction_VPCPublishHas_changes (672.05s)
=== CONT TestAccLambdaFunction_vpcRemoval
--- PASS: TestAccLambdaFunction_VPCPublishNo_changes (814.09s)
=== CONT TestAccLambdaPermission_withQualifier
--- PASS: TestAccLambdaFunction_VPC_withInvocation (922.20s)
=== CONT TestAccLambdaPermission_withIAMRole
--- PASS: TestAccLambdaPermission_withQualifier (529.01s)
=== CONT TestAccLambdaPermission_withSNS
--- PASS: TestAccLambdaPermission_withIAMRole (364.89s)
=== CONT TestAccLambdaPermission_withS3
--- PASS: TestAccLambdaFunction_vpcRemoval (729.65s)
=== CONT TestAccLambdaPermission_multiplePerms
--- PASS: TestAccLambdaPermission_withS3 (59.77s)
=== CONT TestAccLambdaPermission_disappears
--- PASS: TestAccLambdaPermission_withSNS (88.39s)
=== CONT TestAccLambdaFunction_LocalUpdate_nameOnly
--- PASS: TestAccLambdaPermission_multiplePerms (70.57s)
=== CONT TestAccLambdaFunction_S3Update_unversioned
--- PASS: TestAccLambdaFunction_LocalUpdate_nameOnly (69.22s)
=== CONT TestAccLambdaFunction_S3Update_basic
--- PASS: TestAccLambdaPermission_disappears (98.06s)
=== CONT TestAccLambdaFunction_disablePublish
--- PASS: TestAccLambdaFunction_vpc (1570.86s)
=== CONT TestAccLambdaFunction_layersUpdate
--- PASS: TestAccLambdaFunction_S3Update_unversioned (89.80s)
=== CONT TestAccLambdaFunction_layers
--- PASS: TestAccLambdaFunction_vpcUpdate (1146.30s)
=== CONT TestAccLambdaFunction_KMSKeyARN_noEnvironmentVariables
--- PASS: TestAccLambdaFunction_disablePublish (91.74s)
=== CONT TestAccLambdaFunction_tracing
--- PASS: TestAccLambdaFunction_layersUpdate (98.55s)
=== CONT TestAccLambdaFunction_architecturesWithLayer
--- PASS: TestAccLambdaFunction_S3Update_basic (109.56s)
=== CONT TestAccLambdaFunction_architecturesUpdate
--- PASS: TestAccLambdaFunction_KMSKeyARN_noEnvironmentVariables (42.98s)
=== CONT TestAccLambdaFunction_s3
--- PASS: TestAccLambdaFunction_layers (80.23s)
=== CONT TestAccLambdaFunction_architectures
--- PASS: TestAccLambdaFunction_s3 (46.39s)
=== CONT TestAccLambdaFunction_deadLetterUpdated
--- PASS: TestAccLambdaFunction_tracing (92.15s)
=== CONT TestAccLambdaFunction_nilDeadLetter
--- PASS: TestAccLambdaFunction_architecturesUpdate (80.23s)
=== CONT TestAccLambdaFunction_deadLetter
--- PASS: TestAccLambdaFunction_architectures (65.91s)
=== CONT TestAccLambdaFunction_fileSystem
--- PASS: TestAccLambdaFunction_nilDeadLetter (21.56s)
=== CONT TestAccLambdaFunction_image
function_test.go:955: AWS_LAMBDA_IMAGE_LATEST_ID, AWS_LAMBDA_IMAGE_V1_ID and AWS_LAMBDA_IMAGE_V2_ID env vars must be set for Lambda Container Image Support acceptance tests.
--- SKIP: TestAccLambdaFunction_image (0.00s)
=== CONT TestAccLambdaFunction_envVariables
--- PASS: TestAccLambdaFunction_deadLetterUpdated (78.76s)
=== CONT TestAccLambdaFunction_encryptedEnvVariables
--- PASS: TestAccLambdaFunction_deadLetter (80.51s)
=== CONT TestAccLambdaFunction_versioned
--- PASS: TestAccLambdaFunction_architecturesWithLayer (170.90s)
=== CONT TestAccLambdaFunction_enablePublish
--- PASS: TestAccLambdaFunction_versioned (43.81s)
=== CONT TestAccLambdaFunction_EnvironmentVariables_noValue
--- PASS: TestAccLambdaFunction_encryptedEnvVariables (75.60s)
=== CONT TestAccLambdaFunction_versionedUpdate
--- PASS: TestAccLambdaFunction_envVariables (141.16s)
=== CONT TestAccLambdaFunction_concurrency
--- PASS: TestAccLambdaFunction_enablePublish (87.41s)
=== CONT TestAccLambdaFunction_disappears
--- PASS: TestAccLambdaFunction_EnvironmentVariables_noValue (215.63s)
=== CONT TestAccLambdaFunction_expectFilenameAndS3Attributes
--- PASS: TestAccLambdaFunction_disappears (176.23s)
=== CONT TestAccLambdaFunction_codeSigning
--- PASS: TestAccLambdaFunction_expectFilenameAndS3Attributes (20.55s)
=== CONT TestAccLambdaFunction_concurrencyCycle
--- PASS: TestAccLambdaFunction_concurrency (205.17s)
=== CONT TestAccLambdaPermission_withStatementIdPrefix
--- PASS: TestAccLambdaPermission_withStatementIdPrefix (45.43s)
=== CONT TestAccLambdaPermission_withRawFunctionName
--- PASS: TestAccLambdaFunction_versionedUpdate (306.83s)
=== CONT TestAccLambdaPermission_StatementID_duplicate
--- PASS: TestAccLambdaPermission_withRawFunctionName (45.89s)
=== CONT TestAccLambdaFunction_runtimes
--- PASS: TestAccLambdaFunction_concurrencyCycle (108.67s)
=== CONT TestAccLambdaFunction_unpublishedCodeUpdate
--- PASS: TestAccLambdaFunction_codeSigning (152.83s)
=== CONT TestAccLambdaFunction_Zip_validation
--- PASS: TestAccLambdaFunction_Zip_validation (4.76s)
=== CONT TestAccLambdaPermission_basic
--- PASS: TestAccLambdaPermission_StatementID_duplicate (89.41s)
=== CONT TestAccLambdaFunction_localUpdate
--- PASS: TestAccLambdaFunction_unpublishedCodeUpdate (75.74s)
--- PASS: TestAccLambdaPermission_basic (55.42s)
--- PASS: TestAccLambdaFunction_localUpdate (64.06s)
--- PASS: TestAccLambdaFunction_fileSystem (733.60s)
--- PASS: TestAccLambdaFunction_runtimes (672.98s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/lambda 2889.419s
This functionality has been released in v4.0.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
Relates #22997
Relates #22537
Relates #20433
Output from acceptance testing: