-
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
Add default description #6104
Add default description #6104
Conversation
thanks for the PR - currently it fails to build because of go fmt errors Please can you run Thanks Paul |
Hey @joshuaspence – I'm curious to know why all the changing of Let us know if you have any questions about this |
Sorry, I got a bit carried away. Let me tidy this up and finish it off. |
One thing that I wondered whilst working on this PR... should this change be a part of the Terraform core rather than being specific to the AWS plugin? As in, should the Terraform core provides some sort of default schema which says that "if there is a description field, it shall be optional and have a default value of 'Managed by Terraform'"? This also seems like it would be useful for #6099 as well. |
Why are there changes to the vendor folder contents in this PR? What IDE are you using to work with go? P. |
I mentioned this in #6227 as well... I just ran |
yeah this isn't the intended behaviour - I am not sure what quite went wrong there P. |
I'll just manually undo the vendor changes. |
<3 I'll get this PR tested today :) |
Test runs threw the following:
|
This is because of this func
|
|
Due to this func
|
|
@joshuaspence When these small issues with the tests are fixed - we can merge :) This is good. Thanks for all the work here Paul |
@joshuaspence how is this progressing? Need anything from me here? P. |
pinging @joshuaspence on this - if you have not got any spare cycles on this atm I can help :) Paul |
Sorry about the delay, let me take another look at this now. |
Closes #6100. Set the default value for the `description` field to be "Managed by Terraform".
Awesome! Thanks @joshuaspence. Look forward to it :) |
It should be ready now. |
There are a few small test errors which i will fix up now and then merge :) Thanks for this Paul |
This caused TestAccAWSElasticacheSecurityGroup_basic to fail because we didn't update the description in the test config I patched it in e427880 |
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. |
Ref #6100. Set the default value for the
description
field to be "Managed by Terraform".This is my first time contributing so let me know if anything else is required. I know that I need to update the documentation, and I plan to do that next. I wasn't sure about testing this change because I couldn't see any existing tests that verify the default values.