Settings feature branch#174
Conversation
* Bump go client
* Vhost setting support
* Implement updates
* Add docs
* typo
* Review: scope variables properly
* fmt
* any is interface{}
* Update to CreateContext/ReadContext * Define and read * Update resourceAppUpdate * Minimal payload * Create * Return? * Acceptance tests * DRY create * DRY the update code * Docs
6d3ab76 to
a92e507
Compare
|
Promptless prepared a documentation update related to this change. Triggered by PR #174 (Settings feature branch) This PR consolidates the Settings feature work from PRs #160 and #162. The documentation update covers the new app deployment attributes ( Review: Document Terraform provider app and endpoint settings attributes |
4d17901 to
8ea6603
Compare
d16e854 to
a4500ed
Compare
madhuravius
left a comment
There was a problem hiding this comment.
from a code perspective - i have mainly minor requests/nits. feel free to disagree with them
i need to talk to you about one file in particular aptible/resource_endpoint.go. there's a lot of object => map => object stuff going on and i'm not 100% sure why, is it because of client issues or v1/v2 compat (or something ELSE?)
either way let me know. i'm testing the functionality of it now
|
The only items remaining are:
LMK if you feel strongly the other way about the above two and happy to approve (i recommend doing it though just in case). This + integration tests make me feel pretty good about this as that seems exhaustive enough. The only other potential thing I can think of is folks who might get impacted by state migration/update issues. Ex: existing users on OLDER versions of terraform with settings now moving to NEWER versions may have broken terraform and/or state. I can help test this out and verify. |
|
Ready for another look! |
madhuravius
left a comment
There was a problem hiding this comment.
LGTM - thanks for addressing the feedback
Replaces and builds upon the previous PR's, that just had settings/senstive_settings maps:
Note: to test this properly, you will have to
set_stack_settings Stack.where(name: 'sbx-settings'), { 'sweetness/nonsensitive/SETTINGS_MIGRATION_PHASE' => '1' }, which I have already done onsbx-settings.