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

New Resource: aws_lex_resources #2616

Closed
wants to merge 11 commits into from
Closed

New Resource: aws_lex_resources #2616

wants to merge 11 commits into from

Conversation

jzbruno
Copy link
Contributor

@jzbruno jzbruno commented Dec 10, 2017

Fixes Issue #905

@radeksimko radeksimko added the new-resource Introduces a new resource. label Dec 12, 2017
@radeksimko
Copy link
Member

Hi @jzbruno
thanks for submitting the PR.

Do you mind raising a separate PR for all the /vendor changes? That will help avoiding conflicts as you work on the PR and also make review much easier.

@radeksimko radeksimko added the waiting-response Maintainers are waiting on response from community or contributor. label Dec 12, 2017
@jzbruno
Copy link
Contributor Author

jzbruno commented Dec 12, 2017

Sure. I'll break the vendoring out into it's own PR.

@jzbruno
Copy link
Contributor Author

jzbruno commented Dec 13, 2017

@radeksimko I have created pull request #2650 to add vendoring for Lex.

@radeksimko radeksimko added service/lexmodels Issues and PRs that pertain to the lexmodels service. and removed waiting-response Maintainers are waiting on response from community or contributor. labels Jan 16, 2018
@radeksimko radeksimko changed the title [WIP] Add Amazon Lex resources support [WIP] New Resource: aws_lex_bot + aws_lex_bot_alias Jan 16, 2018
@giancarlopetrini
Copy link

any update on this? It'd be such a help to have the lex resources available in the default binary! Thanks for working on this @jzbruno

@jzbruno
Copy link
Contributor Author

jzbruno commented Mar 22, 2018

@giancarlopetrini I will review what is left to finish after work and work on it this weekend.

@ghost ghost added the size/XL Managed by automation to categorize the size of a PR. label Mar 22, 2018
@jzbruno
Copy link
Contributor Author

jzbruno commented Mar 22, 2018

Looks like I have the framework for most resources done but need to finish code, tests, and documentation. I will see what I can get done on Saturday.

Question: This is going to be a fairly large addition, should I break it up into a few PRs?

@bflad
Copy link
Contributor

bflad commented Mar 23, 2018

Generally speaking we prefer 1 resource/data source per PR just to make the reviewing process easier. Also since Lex is a new service, if you want make the aws/config.go change its own PR I can turbo merge that for you so you don't need to awkwardly include the same change in the two resource PRs.

@jzbruno
Copy link
Contributor Author

jzbruno commented Mar 23, 2018

Ok. I will break it up. There will end up being 4 resources.

  • aws_lex_bot
  • aws_lex_bot_alias
  • aws_lex_intent
  • aws_lex_slot_type

With aws_lex_intent being the most complex.

@jzbruno
Copy link
Contributor Author

jzbruno commented Mar 24, 2018

@bflad I created PR #3908 for the aws/config.go change. I will update this PR to just have aws_lex_bot.

@ghost ghost added the size/XL Managed by automation to categorize the size of a PR. label Mar 24, 2018
@jzbruno jzbruno changed the title [WIP] New Resource: aws_lex_bot + aws_lex_bot_alias [WIP] New Resource: aws_lex_bot Mar 24, 2018
@ghost ghost added size/XXL Managed by automation to categorize the size of a PR. and removed size/XL Managed by automation to categorize the size of a PR. labels Mar 26, 2018
@jzbruno
Copy link
Contributor Author

jzbruno commented Mar 26, 2018

Ok. This is ready for review. I will work on the other resources tonight and create PRs for each of them.

~/go/src/github.com/terraform-providers/terraform-provider-aws $ make fmt && make build
gofmt -w $(find . -name '*.go' |grep -v vendor)
==> Checking that code complies with gofmt requirements...
go install
~/go/src/github.com/terraform-providers/terraform-provider-aws $ cd aws/
~/go/src/github.com/terraform-providers/terraform-provider-aws/aws $ AWS_PROFILE=jzbruno AWS_DEFAULT_REGION=us-east-1 TF_ACC=1 go test -v -run TestAccLexBot
=== RUN   TestAccLexBot
--- PASS: TestAccLexBot (22.54s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	22.573s
~/go/src/github.com/terraform-providers/terraform-provider-aws/aws $ AWS_PROFILE=jzbruno AWS_DEFAULT_REGION=us-east-1 TF_ACC=1 go test -v -run TestAccDataSourceLexBot
=== RUN   TestAccDataSourceLexBot
--- PASS: TestAccDataSourceLexBot (15.26s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	15.289s

@jzbruno jzbruno changed the title [WIP] New Resource: aws_lex_bot New Resource: aws_lex_bot Mar 26, 2018
@dee-kryvenko
Copy link

Any reason this is not merged yet?

@JoshiiSinfield
Copy link

Hi @jzbruno,

Any update on this? We'd really like to use these resources.

Cheers,
Josh

@jzbruno
Copy link
Contributor Author

jzbruno commented Aug 1, 2018

Hi @JoshiiSinfield

I need to finish aws_lex_intent. The others have PRs and are waiting for review. If I remember right they should be reviewed in order.

@nmarchini
Copy link

We'd love to see this released soon. Any news please?

@jzbruno
Copy link
Contributor Author

jzbruno commented Sep 13, 2018

For whoever is going to review this. Would it be easier if I combined the PRs? And I will work on finishing the intent resource this weekend.

@kmcquade
Copy link

+1

@jzbruno
Copy link
Contributor Author

jzbruno commented Jun 9, 2019

I have updated this branch to match the contribution guidelines and updated with the latest master branch. I will work on breaking apart the PR next.

@jzbruno
Copy link
Contributor Author

jzbruno commented Jun 10, 2019

The Lex slot type resource and data source PR #8916 is ready for review. I am going to try and keep each PR independent and just deal with merge conflicts as each one is merged.

@jzbruno
Copy link
Contributor Author

jzbruno commented Jun 10, 2019

@nywilken All PRs are ready for review. They can be reviewed independently but it would be best if they are merged in order.

  1. Add Lex slot type data source and resource #8916
  2. Add Lex intent data source and resource #8917
  3. Add Lex bot data source and resoruce #8918
  4. Add Lex bot alias data source and resoruce #8919

@roylines
Copy link

Great diligence @jzbruno! Thanks for this. Can't wait to see it get merged and released!

@nywilken
Copy link
Contributor

And if that is the case can we get commitment to quick turn around? I am willing to commit more time to this but I don't want to get stuck waiting and with an unusable resource.

@jzbruno thanks for the quick turnaround with splitting this into multiple PRs. While I can't give an actual time commitment I can say that this PR along with the newly created PRs are being prioritized for the v2.16.0 release. I myself am new to the Lex service so I will need a little time to get up to speed here, but the other maintainers are available to assist as well so please don't be surprised if you see comments and suggestions from multiple maintainers.

I see you've called out the dependencies around testing for the new PRs. If there are any other edge cases or relevant information that comes to mind as we work through these PRs please feel free to add them as comments. Lastly, thanks for sticking with us and for pushing this contribution forward.

@nywilken nywilken modified the milestones: v2.16.0, v2.15.0 Jun 10, 2019
@jzbruno
Copy link
Contributor Author

jzbruno commented Jun 10, 2019

@nywilken Sounds good. Thanks for your help getting this reviewed.

@roylines
Copy link

Nearly there?

@jzbruno
Copy link
Contributor Author

jzbruno commented Jun 14, 2019

Getting close. We are working through the review on the first PR. The rest should go pretty quick once that is finished as I am updating the other PRs with the comments from the first as we go.

Those comments are happening here if you want to follow along / suggest anything. #8916

@nywilken nywilken self-assigned this Jun 14, 2019
@nywilken nywilken modified the milestones: v2.16.0, v2.17.0, v2.18.0 Jun 20, 2019
@bflad
Copy link
Contributor

bflad commented Jun 21, 2019

Since this pull request has been split into new ones (thank you!) (#2616 (comment)), closing this pull request as those should be followed instead.

For overall tracking of Lex support, please follow #905. Thanks. 😄

@bflad bflad closed this Jun 21, 2019
@bflad bflad removed this from the v2.18.0 milestone Jun 21, 2019
@ghost
Copy link

ghost commented Nov 3, 2019

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 Nov 3, 2019
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. new-resource Introduces a new resource. provider Pertains to the provider itself, rather than any interaction with AWS. service/lexmodels Issues and PRs that pertain to the lexmodels service. size/XXL 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.