Skip to content
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

lambda_function: add layers support to resource and data source #7126

Merged
merged 1 commit into from
Jan 15, 2019

Conversation

acburdine
Copy link
Contributor

@acburdine acburdine commented Jan 12, 2019

refs #6651 (depends on #6782)

  • add layers attribute to resource and data source
  • update documentation

TODO:

Changes proposed in this pull request:

  • Add layers attribute to r/lambda_function and d/lambda_function

Output from acceptance testing: (waiting on aforementioned PR)

$ make testacc TESTARGS='-run=TestAccAWSLambdaFunction'

...

@ghost ghost added size/S Managed by automation to categorize the size of a PR. service/lambda Issues and PRs that pertain to the lambda service. documentation Introduces or discusses updates to documentation. labels Jan 12, 2019
@acburdine
Copy link
Contributor Author

@bflad working on tests for this now, should have them done today

@ghost ghost added size/L Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. and removed size/S Managed by automation to categorize the size of a PR. labels Jan 15, 2019
@acburdine acburdine changed the title [wip] lambda_function: add layers support to resource and data source lambda_function: add layers support to resource and data source Jan 15, 2019
@acburdine
Copy link
Contributor Author

acburdine commented Jan 15, 2019

Resource tests:

--- PASS: TestAccAWSLambdaFunction_Layers (28.41s)
--- PASS: TestAccAWSLambdaFunction_LayersUpdate (41.70s)
PASS

Data source tests:

--- PASS: TestAccDataSourceAWSLambdaFunction_layers (27.65s)
PASS

@bflad bflad added the enhancement Requests to existing resources that expand the functionality or scope. label Jan 15, 2019
@bflad
Copy link
Contributor

bflad commented Jan 15, 2019

@acburdine awesome! Taking a look now. 😄

refs hashicorp#6651
- add layers attribute to resource and data source
- update documentation
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, @acburdine! 🎉

--- PASS: TestAccAWSLambdaFunction_expectFilenameAndS3Attributes (17.16s)
--- PASS: TestAccAWSLambdaFunction_importLocalFile_VPC (20.78s)
--- PASS: TestAccDataSourceAWSLambdaFunction_layers (21.06s)
--- PASS: TestAccAWSLambdaFunction_basic (31.09s)
--- PASS: TestAccDataSourceAWSLambdaFunction_version (39.05s)
--- PASS: TestAccDataSourceAWSLambdaFunction_vpc (39.57s)
--- PASS: TestAccAWSLambdaFunction_importS3 (43.00s)
--- PASS: TestAccDataSourceAWSLambdaFunction_alias (47.44s)
--- PASS: TestAccDataSourceAWSLambdaFunction_basic (52.78s)
--- PASS: TestAccAWSLambdaFunction_versionedUpdate (53.07s)
--- PASS: TestAccAWSLambdaFunction_importLocalFile (53.89s)
--- PASS: TestAccAWSLambdaFunction_encryptedEnvVariables (61.99s)
--- PASS: TestAccDataSourceAWSLambdaFunction_environment (62.70s)
--- PASS: TestAccAWSLambdaFunction_versioned (64.74s)
--- PASS: TestAccAWSLambdaFunction_Layers (45.34s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_noRuntime (0.58s)
--- PASS: TestAccAWSLambdaFunction_DeadLetterConfig (67.35s)
--- PASS: TestAccAWSLambdaFunction_DeadLetterConfigUpdated (70.71s)
--- PASS: TestAccAWSLambdaFunction_VPCRemoval (32.53s)
--- PASS: TestAccAWSLambdaFunction_VPC (41.56s)
--- PASS: TestAccAWSLambdaFunction_s3 (27.63s)
--- PASS: TestAccAWSLambdaFunction_tracingConfig (60.59s)
--- PASS: TestAccAWSLambdaFunction_localUpdate (39.97s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_python27 (28.78s)
--- PASS: TestAccAWSLambdaFunction_concurrencyCycle (96.40s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_java8 (29.87s)
--- PASS: TestAccAWSLambdaFunction_VPCUpdate (59.50s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_NodeJs810 (36.61s)
--- PASS: TestAccAWSLambdaFunction_localUpdate_nameOnly (41.64s)
--- PASS: TestAccAWSLambdaFunction_s3Update_basic (42.93s)
--- PASS: TestAccAWSLambdaFunction_EmptyVpcConfig (56.79s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_python37 (29.69s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_provided (30.79s)
--- PASS: TestAccAWSLambdaFunction_envVariables (112.27s)
--- PASS: TestAccAWSLambdaFunction_s3Update_unversioned (48.32s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_python36 (32.50s)
--- PASS: TestAccAWSLambdaFunction_nilDeadLetterConfig (98.75s)
--- PASS: TestAccAWSLambdaFunction_tags (43.98s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_ruby25 (26.83s)
--- PASS: TestAccAWSLambdaFunction_concurrency (127.71s)
--- PASS: TestAccAWSLambdaFunction_updateRuntime (129.60s)
--- PASS: TestAccAWSLambdaFunction_VPC_withInvocation (91.37s)
--- PASS: TestAccAWSLambdaFunction_LayersUpdate (136.74s)

@bflad bflad added this to the v1.56.0 milestone Jan 15, 2019
@bflad bflad merged commit 56d033b into hashicorp:master Jan 15, 2019
@acburdine acburdine deleted the r/lambda_function_layers branch January 15, 2019 14:47
bflad added a commit that referenced this pull request Jan 15, 2019
bflad added a commit that referenced this pull request Jan 15, 2019
@bflad
Copy link
Contributor

bflad commented Jan 16, 2019

This has been released in version 1.56.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@ghost
Copy link

ghost commented Apr 1, 2020

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!

@ghost ghost locked and limited conversation to collaborators Apr 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. service/lambda Issues and PRs that pertain to the lambda service. size/L Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants