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

r/d/aws_connect_lambda_function_association - add new resource and data source #21276

Merged
merged 45 commits into from
Dec 10, 2021

Conversation

AdamTylerLynch
Copy link
Collaborator

@AdamTylerLynch AdamTylerLynch commented Oct 13, 2021

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #21047

Release note for CHANGELOG:

resource_aws_connect_lambda_function_association - add new resource
datasource_aws_connect_lambda_function_association - add new datasource

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAwsConnectLambdaFunctionAssociation' ACCTEST PARALLELISM=2 
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAwsConnectLambdaFunctionAssociation -timeout 180m
=== RUN   TestAccAwsConnectLambdaFunctionAssociationDataSource_basic
--- PASS: TestAccAwsConnectLambdaFunctionAssociationDataSource_basic (127.83s)
=== RUN   TestAccAwsConnectLambdaFunctionAssociation_serial
=== RUN   TestAccAwsConnectLambdaFunctionAssociation_serial/disappears
=== PAUSE TestAccAwsConnectLambdaFunctionAssociation_serial/disappears
=== RUN   TestAccAwsConnectLambdaFunctionAssociation_serial/basic
=== PAUSE TestAccAwsConnectLambdaFunctionAssociation_serial/basic
=== CONT  TestAccAwsConnectLambdaFunctionAssociation_serial/disappears
=== CONT  TestAccAwsConnectLambdaFunctionAssociation_serial/basic
--- PASS: TestAccAwsConnectLambdaFunctionAssociation_serial (0.00s)
    --- PASS: TestAccAwsConnectLambdaFunctionAssociation_serial/disappears (82.48s)
    --- PASS: TestAccAwsConnectLambdaFunctionAssociation_serial/basic (85.34s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	214.980s
make: *** No rule to make target `ACCTEST'.  Stop.

...

dependabot bot and others added 19 commits September 25, 2021 20:42
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.40.46 to 1.40.48.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](aws/aws-sdk-go@v1.40.46...v1.40.48)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.40.46 to 1.40.48.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](aws/aws-sdk-go@v1.40.46...v1.40.48)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [integrations/github](https://github.com/integrations/terraform-provider-github) from 4.15.0 to 4.15.1.
- [Release notes](https://github.com/integrations/terraform-provider-github/releases)
- [Changelog](https://github.com/integrations/terraform-provider-github/blob/main/CHANGELOG.md)
- [Commits](integrations/terraform-provider-github@v4.15.0...v4.15.1)

---
updated-dependencies:
- dependency-name: integrations/github
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk) from 2.7.1 to 2.8.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-sdk/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-sdk/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-sdk@v2.7.1...v2.8.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-sdk/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk) from 2.7.1 to 2.8.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-sdk/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-sdk/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-sdk@v2.7.1...v2.8.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-sdk/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. size/XL Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. provider Pertains to the provider itself, rather than any interaction with AWS. service/connect Issues and PRs that pertain to the connect service. service/lambda Issues and PRs that pertain to the lambda service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Oct 13, 2021
@AdamTylerLynch AdamTylerLynch changed the title r/d/aws_connect_lambda_function_association - add new resource and data source [WIP] r/d/aws_connect_lambda_function_association - add new resource and data source Oct 13, 2021
@AdamTylerLynch
Copy link
Collaborator Author

Depends on: #21097

@AdamTylerLynch
Copy link
Collaborator Author

make testacc TESTARGS='-run=TestAccLambdaFunctionAssociation' PKG_NAME=internal/service/connect ACCTEST PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/connect/... -v -count 1 -parallel 20 -run=TestAccLambdaFunctionAssociation -timeout 180m
=== RUN TestAccLambdaFunctionAssociationDataSource_basic
--- PASS: TestAccLambdaFunctionAssociationDataSource_basic (84.89s)
=== RUN TestAccLambdaFunctionAssociation_serial
=== RUN TestAccLambdaFunctionAssociation_serial/disappears
=== PAUSE TestAccLambdaFunctionAssociation_serial/disappears
=== RUN TestAccLambdaFunctionAssociation_serial/basic
=== PAUSE TestAccLambdaFunctionAssociation_serial/basic
=== CONT TestAccLambdaFunctionAssociation_serial/disappears
=== CONT TestAccLambdaFunctionAssociation_serial/basic
--- PASS: TestAccLambdaFunctionAssociation_serial (0.00s)
--- PASS: TestAccLambdaFunctionAssociation_serial/disappears (81.49s)
--- PASS: TestAccLambdaFunctionAssociation_serial/basic (87.48s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/connect 173.975s

@AdamTylerLynch AdamTylerLynch changed the title [WIP] r/d/aws_connect_lambda_function_association - add new resource and data source r/d/aws_connect_lambda_function_association - add new resource and data source Nov 6, 2021
@AdamTylerLynch
Copy link
Collaborator Author

Review Requested.

@AdamTylerLynch
Copy link
Collaborator Author

LGTM 🚀

@anGie44 anGie44 self-assigned this Dec 7, 2021
@anGie44 anGie44 added new-data-source Introduces a new data source. new-resource Introduces a new resource. labels Dec 8, 2021
@anGie44
Copy link
Contributor

anGie44 commented Dec 10, 2021

Output of acceptance tests (commercial):

--- PASS: TestAccConnectLambdaFunctionAssociationDataSource_basic (109.55s)
--- PASS: TestAccConnectLambdaFunctionAssociation_serial (195.21s)
    --- PASS: TestAccConnectLambdaFunctionAssociation_serial/basic (99.61s)
    --- PASS: TestAccConnectLambdaFunctionAssociation_serial/disappears (95.59s)

--- PASS: TestAccConnectContactFlowDataSource_contactFlowID (83.58s)
--- PASS: TestAccConnectContactFlowDataSource_name (83.32s)
--- PASS: TestAccConnectContactFlow_serial (304.92s)
    --- PASS: TestAccConnectContactFlow_serial/basic (109.65s)
    --- PASS: TestAccConnectContactFlow_serial/filename (109.46s)
    --- PASS: TestAccConnectContactFlow_serial/disappears (85.81s)

Output of acceptance tests (govcloud):

--- PASS: TestAccConnectLambdaFunctionAssociationDataSource_basic (74.91s)
--- PASS: TestAccConnectLambdaFunctionAssociation_serial (169.10s)
    --- PASS: TestAccConnectLambdaFunctionAssociation_serial/basic (85.31s)
    --- PASS: TestAccConnectLambdaFunctionAssociation_serial/disappears (83.80s)

--- PASS: TestAccConnectContactFlowDataSource_contactFlowID (118.03s)
--- PASS: TestAccConnectContactFlowDataSource_name (74.32s)
--- PASS: TestAccConnectContactFlow_serial (257.26s)
    --- PASS: TestAccConnectContactFlow_serial/basic (96.00s)
    --- PASS: TestAccConnectContactFlow_serial/filename (93.55s)
    --- PASS: TestAccConnectContactFlow_serial/disappears (67.71s)

@anGie44 anGie44 force-pushed the f-aws_connect_lambda_association branch from 83058ec to d20f759 Compare December 10, 2021 02:39
@anGie44 anGie44 added this to the v3.70.0 milestone Dec 10, 2021
Copy link
Contributor

@anGie44 anGie44 left a comment

Choose a reason for hiding this comment

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

Thanks again @AdamTylerLynch 🚀 🚀

@anGie44 anGie44 merged commit db99355 into hashicorp:main Dec 10, 2021
@abebars abebars deleted the f-aws_connect_lambda_association branch December 13, 2021 16:13
@github-actions
Copy link

This functionality has been released in v3.70.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!

@github-actions
Copy link

github-actions bot commented Jun 1, 2022

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.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 1, 2022
@justinretzolk justinretzolk added the partner Contribution from a partner. label May 16, 2024
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. new-data-source Introduces a new data source. new-resource Introduces a new resource. partner Contribution from a partner. provider Pertains to the provider itself, rather than any interaction with AWS. service/connect Issues and PRs that pertain to the connect service. size/XL 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.

Add new resource/data_source for aws_connect_lambda_association
5 participants