-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
r/aws_lambda_function
: Add memory_size
, role
, and timeout
validation
#29721
Conversation
Community NoteVoting for Prioritization
For Submitters
|
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_ -short' PKG=lambda
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/lambda/... -v -count 1 -parallel 20 -run=TestAccLambdaFunction_ -short -timeout 180m
function_test.go:159: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_unpublishedCodeUpdate (0.00s)
function_test.go:274: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_concurrency (0.00s)
function_test.go:314: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_concurrencyCycle (0.00s)
function_test.go:379: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_envVariables (0.00s)
function_test.go:434: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_EnvironmentVariables_noValue (0.00s)
function_test.go:467: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_encryptedEnvVariables (0.00s)
function_test.go:538: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_versioned (0.00s)
function_test.go:574: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_versionedUpdate (0.00s)
function_test.go:652: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_enablePublish (0.00s)
function_test.go:710: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_disablePublish (0.00s)
function_test.go:759: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_deadLetter (0.00s)
function_test.go:802: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_deadLetterUpdated (0.00s)
function_test.go:844: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_nilDeadLetter (0.00s)
function_test.go:867: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_fileSystem (0.00s)
function_test.go:926: Environment variable AWS_LAMBDA_IMAGE_LATEST_ID is not set
--- SKIP: TestAccLambdaFunction_image (0.00s)
function_test.go:996: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_architectures (0.00s)
function_test.go:1047: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_architecturesUpdate (0.00s)
function_test.go:1098: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_architecturesWithLayer (0.00s)
function_test.go:1188: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_tracing (0.00s)
function_test.go:1234: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_KMSKeyARN_noEnvironmentVariables (0.00s)
function_test.go:1268: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_layers (0.00s)
function_test.go:1302: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_layersUpdate (0.00s)
function_test.go:1344: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_vpc (0.00s)
function_test.go:1380: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_vpcRemoval (0.00s)
function_test.go:1420: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_vpcUpdate (0.00s)
function_test.go:1469: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_VPC_withInvocation (0.00s)
function_test.go:1504: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_VPCPublishNo_changes (0.00s)
function_test.go:1546: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_VPCPublishHas_changes (0.00s)
function_test.go:1588: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_VPC_properIAMDependencies (0.00s)
function_test.go:1619: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_VPC_replaceSGWithDefault (0.00s)
function_test.go:1651: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_VPC_replaceSGWithCustom (0.00s)
function_test.go:1744: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_localUpdate (0.00s)
function_test.go:1806: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_LocalUpdate_nameOnly (0.00s)
function_test.go:2017: skipping long-running test in short mode
--- SKIP: TestAccLambdaFunction_runtimes (0.00s)
--- PASS: TestAccLambdaFunction_nameValidation (2.99s)
--- PASS: TestAccLambdaFunction_expectFilenameAndS3Attributes (3.01s)
--- PASS: TestAccLambdaFunction_Zip_validation (6.46s)
--- PASS: TestAccLambdaFunction_emptyVPC (35.03s)
--- PASS: TestAccLambdaFunction_s3 (35.76s)
--- PASS: TestAccLambdaFunction_basic (52.15s)
--- PASS: TestAccLambdaFunction_S3Update_unversioned (53.71s)
--- PASS: TestAccLambdaFunction_disappears (56.60s)
--- PASS: TestAccLambdaFunction_S3Update_basic (56.87s)
--- PASS: TestAccLambdaFunction_snapStart (57.44s)
--- PASS: TestAccLambdaFunction_skipDestroy (62.00s)
--- PASS: TestAccLambdaFunction_ephemeralStorage (63.20s)
--- PASS: TestAccLambdaFunction_tags (92.07s)
--- PASS: TestAccLambdaFunction_codeSigning (94.88s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/lambda 97.880s
This functionality has been released in v4.57.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. |
Description
Adds additional plan time validators for the
aws_lambda_function
resource.Relations
Closes #22897
Relates #13709
References
Output from Acceptance Testing