-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
provider/aws: Adding outputs for elastic_beanstalk_environment resource. #5915
provider/aws: Adding outputs for elastic_beanstalk_environment resource. #5915
Conversation
4075404
to
2c55df9
Compare
Hi @dharrisio Thanks for the PR. I think, if possible, it would be good to have a dedicated acceptance test that tests for the specific computer parameters you have added. The basic config test should test only the very basic that the resource needs to get working How does this sound? Paul |
Just a note, the test needs to change to Would it also be useful to output:
|
@stack72 For the tests would the TestMatchResourceAttr check functions just move to another test, or is there more that needs to be tested? For the solution stack issue, I believe what you are seeing is being caused by #5922. For the other outputs
Thanks for the feedback! |
Hi @dharrisio thanks for getting back to me. I think what is needed here is that the original basic test should exist and then another test should be added for those specific TestMatchResourceAttr should be added This would allow us to see that the basic operation works :) With regards to S3 bucket and security_group, let's take that outside of this for now. It's extra functionality that can be added when needed. I am not quite sure what we can do with the test data though. That seems troublesome that we would need to look that up.... Paul |
@stack72 Thanks for the clarification, I'll create that other test and commit it shortly. Totally understand the hesitation about looking up data to run the tests. One possible solution is to use an older solution stack, before they started putting versions in the names. That might work, but it might introduce some other issues. Other than that, I can't really think of any other solutions. I'll give it a try and update the other issue with the results. |
👍 |
2c55df9
to
4d20c61
Compare
I updated this with a new test for the outputs and with a different
|
4d20c61
to
5a72efa
Compare
5a72efa
to
c3a6cf0
Compare
@stack72 I've rebased this pr as well. Let me know if you need anything else here. Thanks! |
Hi @dharrisio this is great! thanks so much for taking care of all of this :) P. |
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
For #5798 This adds a few resource outputs for an Elastic Beanstalk Environment.
Example config using these outputs for cloudwatch:
Tests: